[ https://issues.apache.org/jira/browse/SOLR-783?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12676655#action_12676655 ]
Shalin Shekhar Mangar commented on SOLR-783: -------------------------------------------- When commit=false, the last_index_time is not set which leads to a NPE during date formatting from DocBuilder. I committed a fix to set the last_index_time to the current date. This fixes the issue but has no affect because the new last_index_time is not written to dataimport.properties if commit=false is specified. Committed revision 747792. > DIH - Better support for handling delta-imports per entity > ---------------------------------------------------------- > > Key: SOLR-783 > URL: https://issues.apache.org/jira/browse/SOLR-783 > Project: Solr > Issue Type: Wish > Components: contrib - DataImportHandler > Affects Versions: 1.3 > Environment: Linux, OpenSolaris > Reporter: Jon Baer > Assignee: Shalin Shekhar Mangar > Priority: Minor > Fix For: 1.4 > > Attachments: SOLR-783.patch, SOLR-783.patch > > > Currently there is no way to perform a delta import per entity because > ${dataimporter.last_index_time} really represents the entire delta-import for > all entities and is only a single dataimport.properties file. > A delta-import w/ dataimport?command=delta-import&entity=a and > dataimport?command=delta-import&entity=b should result in: > ${dataimporter.[name of entity].last_index_time} > ${dataimporter.[name of entity].last_index_time} > I do this now because I have a single multicore representing different docs > coming from different entities. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.