lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael McCandless (JIRA)" <>
Subject [jira] [Commented] (LUCENE-7147) Improve disjoint check for geo distance query traversal
Date Tue, 29 Mar 2016 09:46:25 GMT


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

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

View raw message