Hi

I have gone through documents to define data import handler in solr. But i
couldnot implement it.
I have created data-config.xml file that specifies moving data from
collection1 core to another collection, i donno where i need to specify that
second collection.

<dataConfig>
  <document>
    <entity name="sep" processor="SolrEntityProcessor"
url="http://localhost:8983/solr/collection1"; query="*:*"/>
  </document>
</dataConfig>

and request handler is defined as follows in solrconfig.xml

<requestHandler name="/dataimport"
class="org.apache.solr.handler.dataimport.DataImportHandler">
    <lst name="defaults">
      <str name="config">/home/username/data-config.xml</str>
    </lst>
  </requestHandler>

Even after adding this, i couldnot get any data import handler in web url
page for importing.
Why is it so? And what changes need to be done?
I have followed the following url : 
http://www.codewrecks.com/blog/index.php/2013/4/29/loading-data-from-sql-server-to-solr-with-a-data-import-handler




--
View this message in context: 
http://lucene.472066.n3.nabble.com/Data-Import-Handler-Usage-tp4257518.html
Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to