Ignacio Vera created LUCENE-10514:
-------------------------------------

             Summary: 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


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.1#820001)

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

Reply via email to