You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@lucene.apache.org by "ASF subversion and git services (Jira)" <ji...@apache.org> on 2022/04/20 14:31:00 UTC

[jira] [Commented] (LUCENE-10514) Some Component2D#within* implementations inconsistent with Component2D#relate

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

ASF subversion and git services commented on LUCENE-10514:
----------------------------------------------------------

Commit 4c133f435d5aca9698896c5d502c343a666e2c7d in lucene's branch refs/heads/main from Ignacio Vera
[ https://gitbox.apache.org/repos/asf?p=lucene.git;h=4c133f435d5 ]

LUCENE-10514: Component2D#Within methods should return NOTWITHIN for triangles within the query geometry (#809)

This commit brings makes sure we always return NOTWITHIN for fully contained triangles in 
Component2D#within* methods

> Some Component2D#within* implementations inconsistent with Component2D#relate
> -----------------------------------------------------------------------------
>
>                 Key: LUCENE-10514
>                 URL: https://issues.apache.org/jira/browse/LUCENE-10514
>             Project: Lucene - Core
>          Issue Type: Bug
>            Reporter: Ignacio Vera
>            Priority: Major
>          Time Spent: 2h 10m
>  Remaining Estimate: 0h
>
> During a contains query we have an inconsistent behaviour for geometries that are within the query geometry depending if we are detecting it in an inner node or we are detecting it in a leaf node:
> In an inner node we use the method Component2D#Relate, If the query shape fully contains the node, then we consider that all the documents in that node are NOTWITHIN.
> On the other hand, it might happen that when checking the documents below that inner node one by one, some of them result on DISJOINT relationship. In some cases that leads to inconsistent result.
>  



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

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