You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Karl Wright (JIRA)" <ji...@apache.org> on 2018/04/27 12:16:00 UTC

[jira] [Issue Comment Deleted] (LUCENE-8281) Random polygon test failures

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

Karl Wright updated LUCENE-8281:
--------------------------------
    Comment: was deleted

(was: [~ivera], I presume you are referring to this when you say that the "bounds are identical for the first leg":

{code}
    Above Plane: [A=0.0, B=0.0; C=1.0; D=5.814438626886162E-8]
    Below Plane: [A=0.0, B=0.0; C=1.0; D=5.814238626886161E-8]
{code}

The D values do differ -- in a small way, but significant, and is why the Sector iterator is OK in this case.

FWIW, it doesn't even matter if you pick the "wrong" iterator -- you still have a valid path that takes you to the intersection point and that's all that matters.  It could be on the opposite side of the world than you had intended and it would still be just fine.  The Full  iterator in fact picks the side of the world arbitrarily.

)

> Random polygon test failures
> ----------------------------
>
>                 Key: LUCENE-8281
>                 URL: https://issues.apache.org/jira/browse/LUCENE-8281
>             Project: Lucene - Core
>          Issue Type: Bug
>          Components: modules/spatial3d
>            Reporter: Karl Wright
>            Assignee: Karl Wright
>            Priority: Major
>         Attachments: LUCENE-8281-debugging.patch, LUCENE-8281.jpg
>
>
> Reproduce here:
> {code}
> ant test  -Dtestcase=RandomGeoPolygonTest -Dtests.method=testCompareSmallPolygons -Dtests.seed=42573983280EE568 -Dtests.multiplier=3 -Dtests.slow=true -Dtests.locale=jmc-TZ -Dtests.timezone=US/Alaska -Dtests.asserts=true -Dtests.file.encoding=US-ASCII
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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