07-30-2023, 08:53 AM
You need to add below code in your solrconfig.xml file under the config tag.
Note: Please change the version of jar files accordingly.
<lib dir="${solr.install.dir:../../../..}/dist/" regex="solr-dataimporthandler-.*\.jar" />
<lib dir="${solr.install.dir:../../../..}/dist/" regex="mysql-connector-java-5.1.18-bin.jar" />
For more information you can refer [connecting-solr-to-database][1] .
[1]:
Note: Please change the version of jar files accordingly.
<lib dir="${solr.install.dir:../../../..}/dist/" regex="solr-dataimporthandler-.*\.jar" />
<lib dir="${solr.install.dir:../../../..}/dist/" regex="mysql-connector-java-5.1.18-bin.jar" />
For more information you can refer [connecting-solr-to-database][1] .
[1]:
[To see links please register here]