Let's assume that the Solr record includes the database record's
timestamp field.You can make a more complex DIH stack that does a Solr
query with the SolrEntityProcessor. You can do a query that gets the
most recent timestamp in the index, and then use that in the DB update
command.
On 06/02/2013 06:25 PM, PeriS wrote:
Currently I have wired up the dataimporthandler to do a full and incremental
indexing. I was wondering if there was way to automatically update the indexes
as soon as the row in the table gets updated. I don't want to get into any sort
of cron jobs, triggers etc; Current what I do is as soon as I update the row, i
follow it up by calling the delta import. But in this case its about timing and
if SOLR doesn't see the row as updated, then it doesn't do anything….any ideas?
-Peri.S