lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nicholas Knize (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (LUCENE-6780) GeoPointDistanceQuery doesn't work with a large radius?
Date Sat, 17 Oct 2015 20:01:05 GMT

     [ https://issues.apache.org/jira/browse/LUCENE-6780?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Nicholas Knize updated LUCENE-6780:
-----------------------------------
    Attachment: LUCENE-6780.patch

Next WIP patch...

This patch includes the following:

1. Throws an IllegalArgumentException for PointDistanceQuery when the radius exceeds the maximum
allowable distance (based on location on the earth)  
2. Reduces resolution for extreme GeoPointInBBoxQuery cases (based on diagonal distance of
the bbox).

Performance is much better (need to quantify through benchmarks) but there are still a few
Test bugs that need to be ironed out (PointInPolygon tolerance, and catching illegal radius
values for PointDistanceQuery) 

> GeoPointDistanceQuery doesn't work with a large radius?
> -------------------------------------------------------
>
>                 Key: LUCENE-6780
>                 URL: https://issues.apache.org/jira/browse/LUCENE-6780
>             Project: Lucene - Core
>          Issue Type: Bug
>            Reporter: Michael McCandless
>         Attachments: LUCENE-6780-heap-used-hack.patch, LUCENE-6780.patch, LUCENE-6780.patch,
LUCENE-6780.patch, LUCENE-6780.patch, LUCENE-6780.patch, LUCENE-6780.patch
>
>
> I'm working on LUCENE-6698 but struggling with test failures ...
> Then I noticed that TestGeoPointQuery's test never tests on large distances, so I modified
the test to sometimes do so (like TestBKDTree) and hit test failures.



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