lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael McCandless (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (LUCENE-1721) IndexWriter to allow deletion by doc ids
Date Tue, 16 Apr 2013 10:59:16 GMT

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

Michael McCandless commented on LUCENE-1721:
--------------------------------------------

IndexWriter now has .tryDeleteDocument (LUCENE-4203), which deletes by IndexReader + document
ID when possible (ie, as long as a merge has not merged away that reader). 
                
> IndexWriter to allow deletion by doc ids
> ----------------------------------------
>
>                 Key: LUCENE-1721
>                 URL: https://issues.apache.org/jira/browse/LUCENE-1721
>             Project: Lucene - Core
>          Issue Type: Improvement
>          Components: core/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.
If you think it was sent incorrectly, please contact your JIRA administrators
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


Mime
View raw message