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

Yonik Seeley commented on LUCENE-8378:
--------------------------------------

I assume it's a bug that minDoc is always returned?


> 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, 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-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org

Reply via email to