You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by PRATIK SOLANKI <pr...@gmail.com> on 2014/03/24 14:54:44 UTC
Need help for solr use with JAVA and mysql
Hello Sir / Madam
I was searching apache solr on internet.
but i couldn't found how to config my own database with solr for searching
using JAVA.
Please can you provide any help for it.
Please provide reply for this.
Thanking you....
W. Pratik Solanki
RE: Need help for solr use with JAVA and mysql
Posted by "Wright Karl (HERE/Cambridge)" <ka...@here.com>.
You may also want to consider ManifoldCF for this.
http://manifoldcf.apache.org
Karl
From: ext Varun Thacker [mailto:varunthacker1989@gmail.com]
Sent: Monday, March 24, 2014 10:06 AM
To: dev@lucene.apache.org
Subject: Re: Need help for solr use with JAVA and mysql
You need to use SolrJ to index documents from your database using. You will need to fetch the documents from your database using custom Java code and then use SolrJ to index them.
Link - . https://cwiki.apache.org/confluence/display/solr/Using+SolrJ
You should also look at DataImportHandler. You might find it easier.
https://cwiki.apache.org/confluence/display/solr/Uploading+Structured+Data+Store+Data+with+the+Data+Import+Handler
Also from next time please ask doubts regarding solr on the solr-user mailing list instead.
You can subscribe it from here - https://lucene.apache.org/solr/discussion.html#solr-user-list-solr-userlucene
On Mon, Mar 24, 2014 at 7:24 PM, PRATIK SOLANKI <pr...@gmail.com>> wrote:
Hello Sir / Madam
I was searching apache solr on internet.
but i couldn't found how to config my own database with solr for searching using JAVA.
Please can you provide any help for it.
Please provide reply for this.
Thanking you....
W. Pratik Solanki
--
Regards,
Varun Thacker
http://www.vthacker.in/
Re: Need help for solr use with JAVA and mysql
Posted by Varun Thacker <va...@gmail.com>.
You need to use SolrJ to index documents from your database using. You will
need to fetch the documents from your database using custom Java code and
then use SolrJ to index them.
Link - . https://cwiki.apache.org/confluence/display/solr/Using+SolrJ
You should also look at DataImportHandler. You might find it easier.
https://cwiki.apache.org/confluence/display/solr/Uploading+Structured+Data+Store+Data+with+the+Data+Import+Handler
Also from next time please ask doubts regarding solr on the solr-user
mailing list instead.
You can subscribe it from here -
https://lucene.apache.org/solr/discussion.html#solr-user-list-solr-userlucene
On Mon, Mar 24, 2014 at 7:24 PM, PRATIK SOLANKI
<pr...@gmail.com>wrote:
> Hello Sir / Madam
>
> I was searching apache solr on internet.
>
> but i couldn't found how to config my own database with solr for searching
> using JAVA.
>
> Please can you provide any help for it.
>
> Please provide reply for this.
>
> Thanking you....
>
>
> W. Pratik Solanki
>
--
Regards,
Varun Thacker
http://www.vthacker.in/