lucene-dev mailing list archives

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


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

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

View raw message