jmlucjav created SOLR-10216:
-------------------------------
Summary: DIH: last_index_time not updated on if 0 docs updated
Key: SOLR-10216
URL: https://issues.apache.org/jira/browse/SOLR-10216
Project: Solr
Issue Type: Improvement
Security Level: Public (Default Security Level. Issues are Public)
Components: contrib - DataImportHandler
Affects Versions: 5.5
Reporter: jmlucjav
Priority: Minor
After getting our interval for calling delta index shorter and shorter, I
have found out that last_index_time in dataimport.properties is not
updated every time the indexing runs, it is skipped if no docs where added.
This happens at least in the following scenario:
- running delta as full index
( /dataimport?command=full-import&clean=false&commit=true )
- Solrcloud setup, so dataimport.properties is in zookeeper
- Solr 5.5.0
I understand skipping the commit on the index if no docs were updated is a
nice optimization, but I believe the last_index_time info should be updated
in all cases, so it reflects reality. We, for instance, are looking at this
piece of information in order to do other stuff.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]