mkhludnev commented on issue #7362: URL: https://github.com/apache/lucene/issues/7362#issuecomment-1697367875
> Is there any example about how to use Query instead of Filter, especially around the use of method `getDocIdSet` ? Hi, @PenghaiZhang . DocIdSet just let to iterate doc ids without scores. Right? If so, one make a weight passing [COMPLETE_NO_SCORES](https://lucene.apache.org/core/9_7_0/core/org/apache/lucene/search/ScoreMode.html#COMPLETE_NO_SCORES) to IndexSearcher, and then create a scorer from the weight and iterate through. If you need eagerly put bits into heap https://lucene.apache.org/core/9_7_0/join/org/apache/lucene/search/join/QueryBitSetProducer.html WDYT? -- 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
