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

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

     [ https://issues.apache.org/jira/browse/LUCENE-8466?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jim Ferenczi updated LUCENE-8466:
---------------------------------
    Attachment: LUCENE-8466.patch

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