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/01/04 18:33:00 UTC

[jira] [Updated] (LUCENE-8117) advanceExact does not work on sorted numeric dvs with Lucene54DocValuesProducer

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

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

Here is a simple patch

> advanceExact does not work on sorted numeric dvs with Lucene54DocValuesProducer 
> --------------------------------------------------------------------------------
>
>                 Key: LUCENE-8117
>                 URL: https://issues.apache.org/jira/browse/LUCENE-8117
>             Project: Lucene - Core
>          Issue Type: Bug
>    Affects Versions: 7.2
>            Reporter: Jim Ferenczi
>         Attachments: LUCENE-8117.patch
>
>
> DocValues are iterators now so old doc values (produced with Lucene54DocValues) also implements advance and advanceExact. Though sorted numerics produced by Lucene54DocValues are not working as expected when advanceExact is used. 
> In such case, the docValueCount is as expected but the values returned by the iterator for the document are invalid. This is due to a bug in the implementation of advanceExact in the producer that does not set the offset of the current doc when the function is used.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

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