You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Robert Muir (JIRA)" <ji...@apache.org> on 2018/07/02 22:30:00 UTC
[jira] [Commented] (LUCENE-8378) Add DocIdSetIterator.range method
[ https://issues.apache.org/jira/browse/LUCENE-8378?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16530511#comment-16530511 ]
Robert Muir commented on LUCENE-8378:
-------------------------------------
Can we check that min >= 0 as well?
> Add DocIdSetIterator.range method
> ---------------------------------
>
> Key: LUCENE-8378
> URL: https://issues.apache.org/jira/browse/LUCENE-8378
> Project: Lucene - Core
> Issue Type: Improvement
> Reporter: Michael McCandless
> Assignee: Michael McCandless
> Priority: Major
> Attachments: LUCENE-8378.patch
>
>
> We already have {{DocIdSetIterator.all}} and {{DocIdSetIterator.empty}} but I'd like to also add a {{range}} method to match a specified range of docids.
> E.g. this can be useful if you sort your index by a key, and then create a custom query to match documents by values for that key, or by range (LUCENE-7714).
--
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