[
https://issues.apache.org/jira/browse/LUCENE-7941?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16142135#comment-16142135
]
Karl Wright commented on LUCENE-7941:
-------------------------------------
{quote}
Nope, that will break getRelationship() as all WITHIN shapes will return
OVERLAPS. The method checks if a shape goes in and out (cross and edge) of a
shape, therefore OVERLAPS.
{quote}
But that is legal, although not ideal:
{code}
* It is permissible to return OVERLAPS instead of WITHIN if the shape
* intersects with the area at even a single point.
{code}
I would opt for this in the case of GeoDegeneratePoint.
> GeoDegeneratePoints return intersects when located in edge shape
> -----------------------------------------------------------------
>
> Key: LUCENE-7941
> URL: https://issues.apache.org/jira/browse/LUCENE-7941
> Project: Lucene - Core
> Issue Type: Bug
> Reporter: Ignacio Vera
> Assignee: Karl Wright
> Priority: Minor
> Attachments: LUCENE-7941-test.patch
>
>
> If the degenerate Geopoint lays on the boundary of a shape, the
> relationships between the objects are not symetrical:
> The bounding box "thinks" it contains the degenerated point.
> The degenerated point "thinks" it intersects the shape.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]