DIH(Data Import Handler) for xml files is not working in Solr4

前端 未结 1 853

I have installed and configure Solr4 and tomcat6 on to the server. It works good but when I try to build the DIH(Data Import Handler) it gives me an error and I am not able

相关标签:
1条回答
  • 2020-12-18 16:16

    I have added following lines of code in solrconfig.xml file

    <lib dir="../../../contrib/dataimporthandler/lib/" regex=".*\.jar" />
    <lib dir="../../../dist/" regex="apache-solr-dataimporthandler-\d.*\.jar" />
    

    make sure your apache-solr-dataimporthandler-4.0.jar and apache-solr-dataimporthandler-extras-4.0.jar files in the dist folder and it's in correct path.

    don't forget to restart the tomcat server.

    and that works for me.

    0 讨论(0)
提交回复
热议问题