javanna commented on issue #12230: URL: https://github.com/apache/lucene/issues/12230#issuecomment-1511048964
> surely the whole point of this collector is that you want an accurate hit count? I wondered the same, and I could see this being true, but also not. There could be times where you want to only count , without collecting top hits, yet you'd like to stop as early as a certain threshold is reached. Elasticsearch does this by default, which means that the total hits threshold gets applied to the `TotalHitCountCollector` too. That is easy enough to implement with an early terminating collector, on the other hand I thought other users could benefit from this in Lucene. I had not thought of mixing multiple collectors when I opened this issue. -- 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