jtibshirani opened a new pull request #832: LUCENE-8952: Use a sort key instead of true distance in NearestNeighbors. URL: https://github.com/apache/lucene-solr/pull/832 This commit addresses a TODO in NearestNeighbors around switching to `SloppyMath.haversinSortKey`. When comparing candidate hits, we now only compute a distance sort key. The sort key is converted to a true distance only when returning the final set of `FieldDocs` and when calculating the bbox for the current search area.
---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org