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
<[email protected]>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/

Reply via email to