[
https://issues.apache.org/jira/browse/LUCENE-8466?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16593981#comment-16593981
]
ASF subversion and git services commented on LUCENE-8466:
---------------------------------------------------------
Commit 5ef67e9f17e11d77c1439f5320af47962a4451e6 in lucene-solr's branch
refs/heads/master from [~jim.ferenczi]
[ https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=5ef67e9 ]
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: [email protected]
For additional commands, e-mail: [email protected]