lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hoss Man (JIRA)" <>
Subject [jira] [Updated] (LUCENE-7215) don't invoke full haversin for LatLonPoint.newDistanceQuery
Date Mon, 09 May 2016 23:13:12 GMT


Hoss Man updated LUCENE-7215:
    Fix Version/s:     (was: 6.0)
                   master (7.0)

Manually correcting fixVersion per Step #S5 of LUCENE-7271

> don't invoke full haversin for LatLonPoint.newDistanceQuery
> -----------------------------------------------------------
>                 Key: LUCENE-7215
>                 URL:
>             Project: Lucene - Core
>          Issue Type: Improvement
>            Reporter: Robert Muir
>             Fix For: 6.1, master (7.0)
>         Attachments: LUCENE-7215.patch
> For tree traversals and edge cases we still sometimes invoke full haversin (with asin()
call and everything). this is not necessary: we just need to compute the exact sort key needed
for comparisons.
> While not a huge optimization, its obviously less work and keeps the overhead of the
BKD traversal as low as possible. And it removes the slow asin call from any hot path (its
already done for sorting too), with its large tables and so on.

This message was sent by Atlassian JIRA

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

View raw message