lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (LUCENE-6905) GeoPointDistanceQuery using wrapped lon for dateline crossing query
Date Wed, 25 Nov 2015 16:18:10 GMT

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

ASF subversion and git services commented on LUCENE-6905:
---------------------------------------------------------

Commit 1716462 from [~nknize] in branch 'dev/trunk'
[ https://svn.apache.org/r1716462 ]

LUCENE-6905: Unwrap center longitude for dateline crossing GeoPointDistanceQuery.

> GeoPointDistanceQuery using wrapped lon for dateline crossing query
> -------------------------------------------------------------------
>
>                 Key: LUCENE-6905
>                 URL: https://issues.apache.org/jira/browse/LUCENE-6905
>             Project: Lucene - Core
>          Issue Type: Bug
>            Reporter: Nicholas Knize
>             Fix For: Trunk, 6.0, 5.4
>
>         Attachments: LUCENE-6905.patch, LUCENE-6905.patch, LUCENE-6905.patch, LUCENE-6905.patch,
LUCENE-6905.patch
>
>
> GeoPointDistanceQuery handles dateline crossing by splitting the Minimum Bounding Rectangle
(MBR) into east/west ranges and rewriting to a Boolean SHOULD. PostFiltering is accomplished
by calculating the distance from the center point to the candidate point field. Unfortunately
the center point is wrapped such that calculating the closest point on the "circle" from an
eastern point to a western MBR provides incorrect results thus causing false negatives in
the range creation. This was caught by a jenkins failure and reproduced in 2 places: {{GeoPointDistanceTermsEnum}}
and {{TestGeoRelations}}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message