You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Michael McCandless (JIRA)" <ji...@apache.org> on 2018/07/02 18:17:00 UTC

[jira] [Created] (LUCENE-8378) Add DocIdSetIterator.range method

Michael McCandless created LUCENE-8378:
------------------------------------------

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


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