mikemccand commented on code in PR #12590: URL: https://github.com/apache/lucene/pull/12590#discussion_r1341253190
########## lucene/core/src/java/org/apache/lucene/search/AbstractKnnVectorQuery.java: ########## @@ -216,6 +216,10 @@ protected TopDocs exactSearch(LeafReaderContext context, DocIdSetIterator accept return new TopDocs(totalHits, topScoreDocs); } + protected TopDocs mergeLeafResults(TopDocs[] perLeafResults) { Review Comment: Maybe add a javadoc for this, and explain that it can be helpful if the application needs access to the final `TopDocs`? Maybe add `@lucene.experimental` to reserve the right to change this API for now? -- 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