You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@lucene.apache.org by "Ignacio Vera (Jira)" <ji...@apache.org> on 2020/02/24 06:35:00 UTC

[jira] [Commented] (LUCENE-9243) TestXYPointDistanceSort failure: point was within the distance , but the bbox doesn't contain it

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

Ignacio Vera commented on LUCENE-9243:
--------------------------------------

Reproduce:
{code:java}
ant test  -Dtestcase=TestXYPointDistanceSort -Dtests.method=testRandomHuge -Dtests.seed=EC212F407CDDF680 -Dtests.multiplier=2 -Dtests.nightly=true -Dtests.slow=true -Dtests.linedocsfile=/home/jenkins/jenkins-slave/workspace/Lucene-Solr-NightlyTests-8.x/test-data/enwiki.random.lines.txt -Dtests.locale=fr-FR -Dtests.timezone=Pacific/Yap -Dtests.asserts=true -Dtests.file.encoding=UTF-8 {code}


I had a look and this error is similar to LUCENE-7143. The solution should be similar, add a fudge factor to the bounding box of a circle so we make sure we include all points that are at the specified distance.

> TestXYPointDistanceSort failure: point was within the distance , but the bbox doesn't contain it
> ------------------------------------------------------------------------------------------------
>
>                 Key: LUCENE-9243
>                 URL: https://issues.apache.org/jira/browse/LUCENE-9243
>             Project: Lucene - Core
>          Issue Type: Bug
>            Reporter: Ignacio Vera
>            Priority: Major
>
> Reproduce:
> {code:java}
> ant test  -Dtestcase=TestXYPointDistanceSort -Dtests.method=testRandomHuge -Dtests.seed=EC212F407CDDF680 -Dtests.multiplier=2 -Dtests.nightly=true -Dtests.slow=true -Dtests.linedocsfile=/home/jenkins/jenkins-slave/workspace/Lucene-Solr-NightlyTests-8.x/test-data/enwiki.random.lines.txt -Dtests.locale=fr-FR -Dtests.timezone=Pacific/Yap -Dtests.asserts=true -Dtests.file.encoding=UTF-8 {code}
> I had a look and this error is similar to LUCENE-7143. The solution should be similar, add a fudge factor to the bounding box of a circle so we make sure we include all points that are at the specified distance.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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