msokolov opened a new pull request, #16324: URL: https://github.com/apache/lucene/pull/16324
Found this dumb optimization opportunity while debugging something else. In the normal case, our optimism is borne out and we don't need to revisit any segments for additional HNSW explorations. But we go ahead and run the empty list of tasks anyway. That would be dumb but relatively harmless, but then we also re-merge all the segment results into a global TopK (`mergeLeafResults` gets called twice) -- which we have already had to do in order to determine the min competitive score. -- 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]
