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

ASF subversion and git services commented on LUCENE-8466:
---------------------------------------------------------

Commit 3cce3e82c45a8c4fc84ea27b767e714fd98461d7 in lucene-solr's branch 
refs/heads/branch_7x from [~jim.ferenczi]
[ https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=3cce3e8 ]

LUCENE-8466: IndexWriter.deleteDocs(Query... query) incorrectly applies deletes 
on flush if the index is sorted


> FrozenBufferedUpdates#apply*Deletes is incorrect when index sorting is enabled
> ------------------------------------------------------------------------------
>
>                 Key: LUCENE-8466
>                 URL: https://issues.apache.org/jira/browse/LUCENE-8466
>             Project: Lucene - Core
>          Issue Type: Task
>            Reporter: Adrien Grand
>            Priority: Critical
>         Attachments: LUCENE-8466.patch
>
>
> This was reported by Vish Ramachandran at 
> https://markmail.org/message/w27h7n2isb5eogos. When deleting by term or 
> query, we record the term/query that is deleted and the current max doc id. 
> Deletes are later applied on flush by FrozenBufferedUpdates#apply*Deletes. 
> Unfortunately, this doesn't work when index sorting is enabled since 
> documents are renumbered between the time that the current max doc id is 
> computed and the time that deletes are applied.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org

Reply via email to