jpountz commented on issue #11791: URL: https://github.com/apache/lucene/issues/11791#issuecomment-1252033446
The cheapest way to get an estimation of the "cost" of a filter is to run `Weight#scorerSupplier` to retrieve a `ScorerSupplier` and then `ScorerSupplier#cost` to get an estimation of the number of matches of this scorer on the given segment. -- 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]
