Organizational Research By

Surprising Reserch Topic

solr using:How to use the Solr Data Import Handler to index a MySQL table?

asked Sep 22, 2013 in SOLR by rajesh
0 votes

Related Hot Questions

2 Answers

0 votes
just make sure you have these lines of code in solrconfig.xml file
make sure the path of those jar files and those jar files should be available physically at that path. If you don't have then please add that and try to restart the tomacat server and hopefully it will be resolved.
answered Sep 22, 2013 by rajesh
0 votes
Looks like you are missing 'DataImportHandler.jar' in your Solr /lib folder, or your solr-conf.xml file is not aware of DataImportHandler classs.
Be sure that DataImportHandler is present there, to check hit
"http://localhost/solr/dataimport" ,
if you dont any error message on your browser that means solr-conf.xml is not aware of the location of SolrDataImportHandler.jar
Solution : Problem can be solved by using following line of code to solr-conf.xml
For more information check out this.
There may be a case that your intial configuration are not perfect, take a look Here to configure solr before start importing.
answered Sep 22, 2013 by rajesh