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, vrpar...@gmail.com <vrpar...@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. >