Re: how to update database record after indexing

2011-06-03 Thread vrpar...@gmail.com
Hey Erick, i written separate process as you suggested, and achieved task. Thanks a lot Vishal Parekh -- View this message in context: http://lucene.472066.n3.nabble.com/how-to-update-database-record-after-indexing-tp2874171p3019217.html Sent from the Solr - User mailing list archive at Nabble

Re: how to update database record after indexing

2011-05-15 Thread Erick Erickson
I'm assuming you have some idea what *should* have been indexed in the last hour, why can't you query your Solr index with that information? You shouldn't have to examine the entire index Best Erick On Thu, May 12, 2011 at 8:20 AM, vrpar...@gmail.com wrote: > actually every hour some records

Re: how to update database record after indexing

2011-05-12 Thread vrpar...@gmail.com
actually every hour some records are inserted into database, so every hour solr indexing will be called with delta import, notes: records and data are very large (in GBs) so each time to find all solr index and update database records process will be slow. is there any eventlistners or snapshoot

Re: how to update database record after indexing

2011-04-28 Thread Erick Erickson
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 p