[ 
https://issues.apache.org/jira/browse/LUCENE-6532?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14582539#comment-14582539
 ] 

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 calculations.

> 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]

Reply via email to