Uploaded image for project: 'Lucene - Core'
  1. Lucene - Core
  2. LUCENE-10514

Some Component2D#within* implementations inconsistent with Component2D#relate

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 9.2
    • None
    • None
    • New

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              ivera Ignacio Vera
              ivera Ignacio Vera
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 2.5h
                  2.5h