benwtrent commented on PR #12590: URL: https://github.com/apache/lucene/pull/12590#issuecomment-1734371468
@kaivalnp depends on what you need to do. You can easily get around all this without any expensive locking. The collector has a "topDocs" method that could call some higher level collector. But that aside, you might as well just override the "rewrite" method if you need this fined grained control over doing specific things with top-k. -- 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