[ https://issues.apache.org/jira/browse/SOLR-2492?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13064593#comment-13064593 ]
James Dyer commented on SOLR-2492: ---------------------------------- Thank you, Shalin! I also updated the wiki with a note about commits / increments and the pre-3.4 vs post-3.4 behavior. > DIH does not commit if only Deletes are processed > ------------------------------------------------- > > Key: SOLR-2492 > URL: https://issues.apache.org/jira/browse/SOLR-2492 > Project: Solr > Issue Type: Bug > Components: contrib - DataImportHandler > Affects Versions: 1.4.1, 3.1, 4.0 > Reporter: James Dyer > Assignee: Shalin Shekhar Mangar > Priority: Minor > Fix For: 3.4, 4.0 > > Attachments: SOLR-2492-branch3x.patch, SOLR-2492.patch, > SOLR-2492.patch > > > If a DIH run processes deletes using the $deleteDocById and/or > $deleteDocByQuery special commands, and if no adds or updates get processed > in the same run, then "commit" is never called. Also, the # of deleted > documents does not get incremented. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org