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

Shalin Shekhar Mangar updated SOLR-1474:
----------------------------------------

    Attachment: SOLR-1474.patch

There was a shortcut in DIH to do a full-import if last_index_time is not 
available even if a delta-import is requested. I believe we added that so that 
empty last_index_time doesn't give errors

# Removed last_index_time from DataImporter since DocBuilder reads it anyway
# If last_index_time is not present, use epoch

All tests pass. I'll commit this shortly.

> DataImportHandler tests leave dataimport.properties after finish
> ----------------------------------------------------------------
>
>                 Key: SOLR-1474
>                 URL: https://issues.apache.org/jira/browse/SOLR-1474
>             Project: Solr
>          Issue Type: Test
>          Components: contrib - DataImportHandler
>    Affects Versions: 1.3
>            Reporter: Shalin Shekhar Mangar
>            Assignee: Shalin Shekhar Mangar
>             Fix For: 1.4
>
>         Attachments: SOLR-1474.patch, SOLR-1474.patch
>
>
> DataImportHandler tests leave dataimport.properties after finish. A lot of 
> tests which use last_index_time fail if dataimport.properties is removed in 
> tearDown. Either the tests are wrong or there is a bug lurking somewhere. 
> This needs to be fixed before 1.4 release.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to