lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Erick Erickson <erickerick...@gmail.com>
Subject Re: how to update database record after indexing
Date Thu, 28 Apr 2011 12:39:19 GMT
I don't think you can do this through DIH, you'll probably have to write a
separate process that queries the Solr index and updates your table.

You'll have to be a bit cautious that you coordinate the commits, that
is wait for the DIH to complete and commit before running your separate
db update process.

Best
Erick

On Thu, Apr 28, 2011 at 6:59 AM, vrparekh@gmail.com <vrparekh@gmail.com> wrote:
> Hello,
>
> i am using dataimporthandler to import data from sql server database.
>
> my requirement is when solr completed indexing on particular database record
> i want to update that record in database
>
> or after indexing all records if i can get all ids and update all records
>
> how to achieve same ?
>
> Thanks
>
> Vishal Parekh
>
> --
> View this message in context: http://lucene.472066.n3.nabble.com/how-to-update-database-record-after-indexing-tp2874171p2874171.html
> Sent from the Solr - User mailing list archive at Nabble.com.
>

Mime
View raw message