lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Itamar Syn-Hershko (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (LUCENE-4342) Issues with prefix tree's Distance Error Percentage
Date Wed, 29 Aug 2012 20:41:10 GMT

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

Itamar Syn-Hershko updated LUCENE-4342:
---------------------------------------

    Attachment: unnamed.patch

A failing test
                
> Issues with prefix tree's Distance Error Percentage 
> ----------------------------------------------------
>
>                 Key: LUCENE-4342
>                 URL: https://issues.apache.org/jira/browse/LUCENE-4342
>             Project: Lucene - Core
>          Issue Type: Bug
>          Components: modules/spatial
>    Affects Versions: 4.0-ALPHA, 4.0-BETA
>            Reporter: Itamar Syn-Hershko
>         Attachments: unnamed.patch
>
>
> See attached patch for a failing test
> Basically, it's a simple point and radius scenario that works great as long as args.setDistPrecision(0.0);
is called. Once the default precision is used (2.5%), it doesn't work as expected.
> The distance between the 2 points in the patch is 35.75 KM. Taking into account the 2.5%
error the effective radius without false negatives/positives should be around 34.8 KM. This
test fails with a radius of 33 KM.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

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


Mime
View raw message