This query can make use of some of the same optimizations we applied to the distance sort.
Here is a patch. Its a 10.5% QPS improvement on Mike's London benchmark. I also see similar improvements doing queries around my house in geonames.
+1, that's a cool idea to check the box when visiting each hit!
Commit 870baafc82b0853349db55b7886a6f31b54a69d5 in lucene-solr's branch refs/heads/master from Robert Muir
[ https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=870baaf ]
LUCENE-7105: Optimize LatLonPoint.newDistanceQuery
Commit cc412ebcaeb4925e3bfe19739582167a3835005f in lucene-solr's branch refs/heads/branch_6x from Robert Muir
[ https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=cc412eb ]
Manually correcting fixVersion per Step #S5 of LUCENE-7271