Closed mikemccand closed 4 years ago
Commit 152756fcbd8ae3bfd5e842f94b053715cb554588 in lucene-solr's branch refs/heads/master from Julie Tibshirani https://gitbox.apache.org/repos/asf?p=lucene-solr.git;h=152756f
LUCENE-8952: Use a sort key instead of true distance in NearestNeighbor. (#832)
[Legacy Jira: ASF subversion and git services on Aug 23 2019]
Commit f3c7bbf79e35dc7429e8ec439dacd09b9c969a54 in lucene-solr's branch refs/heads/branch_8x from Julie Tibshirani https://gitbox.apache.org/repos/asf?p=lucene-solr.git;h=f3c7bbf
LUCENE-8952: Use a sort key instead of true distance in NearestNeighbor. (#832)
[Legacy Jira: ASF subversion and git services on Aug 23 2019]
The NearestNeighbors class contains a TODO to switch to SloppyMath.haversinSortKey when comparing candidate nearest neighbors. This change is not high priority, but could be a nice way to get more familiar with the kNN search implementation.
Legacy Jira details
LUCENE-8952 by Julie Tibshirani (@jtibshirani) on Aug 14 2019, resolved Aug 23 2019