lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael McCandless (JIRA)" <>
Subject [jira] [Commented] (LUCENE-6532) Add GeoPointDistanceQuery for GeoPointField type
Date Thu, 11 Jun 2015 21:30:00 GMT


Michael McCandless commented on LUCENE-6532:

Thanks [~nknize] this is some heavy math :)

I wonder if we should provide a Haversine impl (default?) that's faster but a bit off (22
meters from your comment)?

Do you have a simple benchmark somewhere (you mentioned a 60% speedup)?

In the 2nd patch, do you skip the polygon approximation entirely?  It's curious that made
things so much faster; it seems like that should have avoided a large number of per-hit distance

> Add GeoPointDistanceQuery for GeoPointField type
> ------------------------------------------------
>                 Key: LUCENE-6532
>                 URL:
>             Project: Lucene - Core
>          Issue Type: New Feature
>          Components: core/search
>            Reporter: Nicholas Knize
>         Attachments: LUCENE-6532.patch, LUCENE-6532.patch
> [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

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message