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

Michael McCandless commented on LUCENE-7147:
--------------------------------------------

Wow, this is a big speedup for {{LatLonPoint.newDistanceQuery}} on the 6.1 M 
point London UK benchmark: trunk is 12.3 sec for 225 queries, and this patch 
brings it down to 7.7 sec!

{{GeoPointDistanceQuery}} gets a small speedup, from 16.2 sec to 15.3 sec ... 
not sure why it's less.

And the total hit counts of all 4 runs are (thank God!) identical: 382,961,953


> Improve disjoint check for geo distance query traversal
> -------------------------------------------------------
>
>                 Key: LUCENE-7147
>                 URL: https://issues.apache.org/jira/browse/LUCENE-7147
>             Project: Lucene - Core
>          Issue Type: Improvement
>            Reporter: Ryan Ernst
>         Attachments: LUCENE-7147.patch
>
>
> When doing geo distance queries, it is important to avoid traversing subtrees 
> which do not contain any relevant points. We currently have checks which 
> compare the bbox of the query to the bounds of the subtree. However, it is 
> possible for a subtree to overlap the bbox, but still not intersect the 
> query. This issue is to improve that check to avoid unnecessary traversals.



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