开发者

how to index data from database using solr

开发者 https://www.devze.com 2023-03-06 17:42 出处:网络
I configured Import Handler for fatching data from MySql data base. In the solr example which i downloaded from net in C:\\apache-solr-1.4.0\\example开发者_JAVA百科\\example-DIH\\solr\\db\\lib there i

I configured Import Handler for fatching data from MySql data base. In the solr example which i downloaded from net in C:\apache-solr-1.4.0\example开发者_JAVA百科\example-DIH\solr\db\lib there is hsqldb-1.8.0.10.jar. I want to know:

since i am using MySQL do i need to put jar for MySql.


please be sure to check out the Solr Wiki as it very much describes the process of indexing data from a MySQL database.

As for you question regarding where to put the MySQL connector jar (in my case it is called the "mysql-connector-java-5.1.12-bin.jar")... you will need to place this jar in the C:\apache-solr-3.1.0\example\lib\ folder.

Hope that helps!

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号