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

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

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

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-unsubscr...@lucene.apache.org
For additional commands, e-mail: issues-h...@lucene.apache.org

Reply via email to