You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Chad Kouse (Commented) (JIRA)" <ji...@apache.org> on 2012/02/10 23:04:59 UTC

[jira] [Commented] (SOLR-2790) DataImportHandler last_index_time does not update on delta-imports

    [ https://issues.apache.org/jira/browse/SOLR-2790?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13205795#comment-13205795 ] 

Chad Kouse commented on SOLR-2790:
----------------------------------

I just went through the code -- everything looks good -- however I can see where this could happen due to file permissions on the file system.  It looks like this property is persisted to the dataimport.properties file in your conf folder.  If solr can't write to this file, it will appear as if the last_index_time is not updating.  Code was added (not sure when) to surround this persist call with try/catch and add a status message "Could not write property file. Delta imports will not work. Make sure your conf directory is writable" if it cannot persist the file.

                
> DataImportHandler last_index_time does not update on delta-imports
> ------------------------------------------------------------------
>
>                 Key: SOLR-2790
>                 URL: https://issues.apache.org/jira/browse/SOLR-2790
>             Project: Solr
>          Issue Type: Bug
>          Components: contrib - DataImportHandler
>    Affects Versions: 3.4
>         Environment: Windows 7, Java version 1.6.0_26
>            Reporter: Greg Martin
>             Fix For: 3.4
>
>
> When a full-index is run using the DataImportHandler, the last_index_time is updated.  But it is not updated when a delta-import is run.  Same issue reported here: http://mail-archives.apache.org/mod_mbox/lucene-solr-user/201104.mbox/%3CBANLkTi=CUnkZ26AJ8WCyFP7ujBjPNW6JTg@mail.gmail.com%3E
> Note that the DataImportHandler entry on the wiki states that the last_index_time should update on both delta-import and full-import.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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