[
https://issues.apache.org/jira/browse/LUCENE-1721?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12728104#action_12728104
]
Tim Smith commented on LUCENE-1721:
-----------------------------------
I'm working in lucene 2.4, so i don't have access to the "child" IndexReaders
however i'm 99.99999% positive this is the case (or some similar event)
(especially as my index is optimized at this point)
my next though was to inspect the IndexCommit for each and validate that they
contain the same exact files (with same exact timestamps)
this is just more work (need to save of the IndexCommit at open time to make
sure the timestamps will be captured at open time, then compare that with the
new one (and there's no convenience method on IndexCommit for this type of
equality check)
> IndexWriter to allow deletion by doc ids
> ----------------------------------------
>
> Key: LUCENE-1721
> URL: https://issues.apache.org/jira/browse/LUCENE-1721
> Project: Lucene - Java
> Issue Type: Improvement
> Components: Index
> Reporter: Shay Banon
>
> It would be great if IndexWriter would allow for deletion by doc ids as well.
> It makes sense for cases where a "query" has been executed beforehand, and
> later, that query needs to be applied in order to delete the matched
> documents.
> More information here:
> http://www.nabble.com/Delete-by-docId-in-IndexWriter-td24239930.html
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]