iverase opened a new pull request #2155:
URL: https://github.com/apache/lucene-solr/pull/2155
This PR adds the possibility of querying a LatLonPoint using the same
spatial relationships supported by LatLonShape. In order to do that, I have
rename ShapeQuery class to SpatialQuery and added a new Interface
(SpatialVisitor) that can be implemented by both points and shapes.
LatLonPointInGeometryQuery has been replaced by LatLonPointQuery.
LatLonDocValuesPointInGeometryQuery has been replaced by
LatLonDocValuesQuery.
Performance test for LatLonPoint shows same performance as before:
```
||Approach||Shape||M hits/sec ||QPS ||Hit count ||
||Dev||Base ||Diff||Dev||Base||Diff||Dev||Base||Diff||
|points|polyRussia|16.08|16.13|-0%|4.58|4.60|-0%|3508846|3508846| 0%|
|points|polyMedium|9.14|9.08| 1%|112.00|111.28| 1%|2693559|2693559| 0%|
|points|poly 10|87.29|87.03| 0%|55.20|55.03| 0%|355809475|355809475| 0%|
```
cc: @nknize
----------------------------------------------------------------
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:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]