You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@lucene.apache.org by "Alexandre Rafalovitch (Jira)" <ji...@apache.org> on 2020/08/29 20:03:00 UTC

[jira] [Resolved] (SOLR-10216) DIH: last_index_time not updated on if 0 docs updated

     [ https://issues.apache.org/jira/browse/SOLR-10216?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alexandre Rafalovitch resolved SOLR-10216.
------------------------------------------
    Resolution: Won't Fix

> 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
>          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
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@lucene.apache.org
For additional commands, e-mail: issues-help@lucene.apache.org