[
https://issues.apache.org/jira/browse/LUCENE-7215?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15240194#comment-15240194
]
ASF subversion and git services commented on LUCENE-7215:
---------------------------------------------------------
Commit 87069500fb2e56b4ceabadb8bb866be39e4269fb in lucene-solr's branch
refs/heads/branch_6x from [~rcmuir]
[ https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=8706950 ]
LUCENE-7215: don't invoke full haversin for LatLonPoint.newDistanceQuery
> don't invoke full haversin for LatLonPoint.newDistanceQuery
> -----------------------------------------------------------
>
> Key: LUCENE-7215
> URL: https://issues.apache.org/jira/browse/LUCENE-7215
> Project: Lucene - Core
> Issue Type: Improvement
> Reporter: Robert Muir
> 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
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]