Note that there are some explanatory texts on larger screens.

plurals
  1. POHTTP ERROR 500 prbm accessing /solr/dataimport unable to configuring solr
    text
    copied!<p>Thanks, I edited my data-config.xml file </p> <p>It's like this</p> <pre><code>&lt;dataConfig&gt; &lt;dataSource type="JdbcDataSource" driver="com.mysql.jdbc.Driver" url="jdbc:mysql://localhost/lol" user="root" password="n"/&gt; &lt;document name="content"&gt; &lt;entity name="id"&gt; query="SELECT id from foo" &lt;/entity&gt; &lt;/document&gt; &lt;/dataConfig&gt; </code></pre> <p>When I run </p> <pre><code>http://localhost:8983/solr/dataimport?command=full-import </code></pre> <p>On the browser I get this</p> <p><code>&lt;response&gt;&lt;lst name="responseHeader"&gt;&lt;int name="status"&gt;0&lt;/int&gt;&lt;int name="QTime"&gt;1&lt;/int&gt;&lt;/lst&gt;&lt;lst name="initArgs"&gt;&lt;lst name="defaults"&gt;&lt;str name="config"&gt;data-config.xml&lt;/str&gt;&lt;/lst&gt;&lt;/lst&gt;&lt;str name="status"&gt;idle&lt;/str&gt;&lt;str name="importResponse"/&gt;&lt;lst name="statusMessages"&gt;&lt;str name="Time Elapsed"&gt;0:0:6.299&lt;/str&gt;&lt;str name="Total Requests made to DataSource"&gt;1&lt;/str&gt;&lt;str name="Total Rows Fetched"&gt;0&lt;/str&gt;&lt;str name="Total Documents Processed"&gt;0&lt;/str&gt;&lt;str name="Total Documents Skipped"&gt;0&lt;/str&gt;&lt;str name="Full Dump Started"&gt;2013-06-28 11:17:34&lt;/str&gt;&lt;str name=""&gt;Indexing failed. Rolled back all changes.&lt;/str&gt;&lt;str name="Rolledback"&gt;2013-06-28 11:17:34&lt;/str&gt;&lt;/lst&gt;&lt;str name="WARNING"&gt;This response format is experimental. It is likely to change in the future.&lt;/str&gt;&lt;/response&gt;</code></p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload