You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Adrien Grand (JIRA)" <ji...@apache.org> on 2018/08/27 09:43:00 UTC

[jira] [Created] (LUCENE-8466) FrozenBufferedUpdates#apply*Deletes is incorrect when index sorting is enabled

Adrien Grand created LUCENE-8466:
------------------------------------

             Summary: 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


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-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org