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

David Smiley commented on SOLR-14185:
-------------------------------------

While working on this I discovered it's complicated by the fact that there are 
two DocSet implementations, DocSlice and HashDocSet, that cannot simply return 
an ID sorted list without doing work to produce it instead of trivially 
implementing the DocIdSetIterator.  I filed dependent issues for them to be 
done first.

> add DocSet.getDocIdSetIterator(LeafReaderContext)
> -------------------------------------------------
>
>                 Key: SOLR-14185
>                 URL: https://issues.apache.org/jira/browse/SOLR-14185
>             Project: Solr
>          Issue Type: Sub-task
>            Reporter: David Smiley
>            Priority: Major
>
> Many callers of {{DocSet.getTopFilter()}} really just want to call 
> {{getDocIdSet}} on the Filter and then call {{iterator()}}.  The Bits 2nd arg 
> is also always null or always live-docs so this arg doesn't matter since a 
> Solr DocSet never contains deleted docs.  The goal here is to reduce needless 
> dependencies on the old Filter.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org
For additional commands, e-mail: issues-h...@lucene.apache.org

Reply via email to