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

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

Here is a patch that fails DV updates on a field involved in the index sort.
I also modified TestIndexSorting#testConcurrentDVUpdates which now test DV 
updates that are not involved in the index sort.

> IndexWriter#updateDocValues can break index sorting
> ---------------------------------------------------
>
>                 Key: LUCENE-7581
>                 URL: https://issues.apache.org/jira/browse/LUCENE-7581
>             Project: Lucene - Core
>          Issue Type: Bug
>            Reporter: Ferenczi Jim
>         Attachments: LUCENE-7581.patch, LUCENE-7581.patch
>
>
> IndexWriter#updateDocValues can break index sorting if it is called on a 
> field that is used in the index sorting specification. 
> TestIndexSorting has a test for this case: #testConcurrentDVUpdates 
> but only L1 merge are checked. Any LN merge would fail the test because the 
> inner sort of the segment is not re-compute during/after DV updates.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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

Reply via email to