You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Alexandre Rafalovitch (JIRA)" <ji...@apache.org> on 2017/03/01 02:54:45 UTC

[jira] [Commented] (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:comment-tabpanel&focusedCommentId=15889402#comment-15889402 ] 

Alexandre Rafalovitch commented on SOLR-10216:
----------------------------------------------

Have you tested it against the latest Solr? There has been a LOT of changes related to the cloud in a meanwhile.

> 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: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org