Note that there are some explanatory texts on larger screens.

plurals
  1. POSOLR:There are no SolrCores running Error Message
    text
    copied!<p>I m very new to SOLR.</p> <p>I have added the following to the corresponding xml files. But when I try to open my server page that is <code>http://localhost:8080/solr/#/</code> in my machine it comes up with a message saying that "<code>There are no SolrCores running.Using the Solr Admin UI currently requires at least one SolrCore.</code>".</p> <p><strong>solarconfig.xml:</strong> [the request handler]</p> <pre><code> &lt;requestHandler name="/dataimport" class="org.apache.solr.handler.dataimport.DataImportHandler"&gt; &lt;lst name="defaults"&gt; &lt;str name="config"&gt;C:/Solr/collection1/conf/data-config.xml&lt;/str&gt; &lt;/lst&gt; &lt;/requestHandler&gt; </code></pre> <p><strong>data-config.xml</strong></p> <pre><code>&lt;dataConfig&gt; &lt;dataSource type="JdbcDataSource" driver="com.microsoft.sqlserver.jdbc.SQLServerDriver" url="jdbc:sqlserver://127.0.0.1:8080;databaseName=myDB" user="xxx" password="xxx" /&gt; &lt;document&gt; &lt;entity name="sep" processor="SolrEntityProcessor" url="http://127.0.0.1:8080/solr/#/collection1" query="*:*"/&gt; &lt;entity name="Data" query="select id, firstname, lastname from tblPlayers"&gt; &lt;field column="DocumentId" name="DocumentId" /&gt; &lt;field column="Data" name="Data" /&gt; &lt;/entity&gt; &lt;/document&gt; &lt;/dataConfig&gt; </code></pre> <p>I guess the <code>requestHandler</code> just points to the <code>data-config.xml</code>, so is there anything wrong with my data-config.xml.</p> <p>And which is the port that I ve to specify in the data-config.xml relating to the DB.</p> <p>Thanks in advance.</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