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 2017/12/16 17:00:00 UTC

[jira] [Commented] (LUCENE-8101) Make NumericDocValuesField.newSlowExact/RangeQuery fast with a sorted index

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

Adrien Grand commented on LUCENE-8101:
--------------------------------------

Is it a dup of LUCENE-7714?

> Make NumericDocValuesField.newSlowExact/RangeQuery fast with a sorted index
> ---------------------------------------------------------------------------
>
>                 Key: LUCENE-8101
>                 URL: https://issues.apache.org/jira/browse/LUCENE-8101
>             Project: Lucene - Core
>          Issue Type: Improvement
>            Reporter: Michael McCandless
>
> If I sort my index by a doc values field A, then run a query like {{NumericDocValuesField.newSlowExactQuery(A, 10)}}, it should somehow be possible to run that query efficiently, i.e. it will be a compact range of doc ids that match.
> The challenge is, without an inverted structure, how will we know exactly which range of docIDs?  If the field is also indexed e.g. as points, we could use that to locate the min/max docID, maybe?



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