gsmiller commented on PR #964: URL: https://github.com/apache/lucene/pull/964#issuecomment-1163388135
Got it, thanks @jpountz. I haven't looked at this proposed PR in much detail, so apologies in advance if this suggestion is nonsense, but if we want to optimize hit counting for users that aren't using `IndexSearcher#count`, but instead chaining collectors manually, using `TotalHitCountCollector` directly, etc., what if we did something like this? https://github.com/gsmiller/lucene/commit/94aeb32b9e4c38075b3a6be2d2bb15b060dc0f88 -- 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