lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (LUCENE-7581) IndexWriter#updateDocValues can break index sorting
Date Fri, 09 Dec 2016 23:05:58 GMT

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

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

Commit 4efbde4e76277f364952866c071bb953ca2be070 in lucene-solr's branch refs/heads/master
from Mike McCandless
[ https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=4efbde4 ]

LUCENE-7581: don't allow updating a doc values field if it's used 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-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message