jpountz commented on PR #14963: URL: https://github.com/apache/lucene/pull/14963#issuecomment-3092568029
Or some higher-level abstraction that can either be consumed in a random-access fashion (`Bits`) or sequential (`DocIdSetIterator`)? ```java class AcceptDocs { /** Random access to the accepted documents. */ Bits getBits(); /** Get an iterator of accepted docs. */ DocIdSetIterator getIterator(); /** Return an approximation of the number of accepted documents. */ long cost(); } ``` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org For additional commands, e-mail: issues-h...@lucene.apache.org