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

Karl Wright updated LUCENE-7225:
--------------------------------
    Attachment: LUCENE-7225.patch

[~mikemccand]: Attaching a patch to address the testing failures that are due 
solely to quantization effects.  Basically, this maps the quantized point to 
the surface of the ellipsoid before relying on shape.isWithin() to be 
meaningful.  Since the point started on the surface (before quantization), this 
is arguably far more accurate as a measure of test accuracy than using 
shape.isWithin() on the quantized point.

Better still would be to use the un-quantized point's shape.isWithin() instead 
as 'truth'.  Maybe I'll update the patch after I think how to do that.

> Geo3d test failure
> ------------------
>
>                 Key: LUCENE-7225
>                 URL: https://issues.apache.org/jira/browse/LUCENE-7225
>             Project: Lucene - Core
>          Issue Type: Bug
>          Components: modules/spatial3d
>    Affects Versions: master
>            Reporter: Karl Wright
>            Assignee: Karl Wright
>         Attachments: LUCENE-7225.patch
>
>
> Here's how to reproduce:
> {code}
> ant test  -Dtestcase=TestGeo3DPoint -Dtests.method=testRandomMedium 
> -Dtests.seed=FC3AB2BE996B411E -Dtests.multiplier=3 -Dtests.slow=true 
> -Dtests.locale=vi -Dtests.timezone=Europe/Kaliningrad -Dtests.asserts=true 
> -Dtests.file.encoding=US-ASCII
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to