[
https://issues.apache.org/jira/browse/LUCENE-6532?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Nicholas Knize updated LUCENE-6532:
-----------------------------------
Attachment: LUCENE-6532.patch
60% performance improvement over previous patch. Notable changes include:
* Refactor GeoPointDistanceQuery to inherit from GeoPointInBBoxQuery instead of
GeoPointInPolygonQuery. This is the primary source of the improvement since
computing cell intersection with a polygonal representation of a circle can be
quite costly.
* Refactored projection and distance utility methods to their own
GeoProjectionUtils and GeoDistanceUtils classes, respectively.
* Added utility methods to compute cell intersection with a point-radius
defined circle to differentiate boundary ranges from interior ranges.
Point-radius circles that cross the dateline is currently a limitation. Will
add logic to support this capability on a future iteration (most likely a
separate issue that will add dateline crossing support to PointInBBox,
PointInPoly, and PointDistance query classes).
> Add GeoPointDistanceQuery for GeoPointField type
> ------------------------------------------------
>
> Key: LUCENE-6532
> URL: https://issues.apache.org/jira/browse/LUCENE-6532
> Project: Lucene - Core
> Issue Type: New Feature
> Components: core/search
> Reporter: Nicholas Knize
> Attachments: LUCENE-6532.patch, LUCENE-6532.patch
>
>
> [LUCENE-6481 | https://issues.apache.org/jira/browse/LUCENE-6481] adds
> GeoPointField w/ GeoPointInBBox and GeoPointInPolygon queries. This feature
> adds GeoPointDistanceQuery to support point radius queries.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]