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

LatLonShapeBoundingBoxQuery could make more decisions on inner nodes

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 8.3
    • None
    • None
    • New

    Description

      Currently LatLonShapeBoundingBoxQuery with the INTERSECTS relation only returns CELL_INSIDE_QUERY if the query contains ALL minimum bounding rectangles of the indexed triangles.

      I think we could return CELL_INSIDE_QUERY if the box contains either of the edges of all MBRs of indexed triangles since triangles are guaranteed to touch all edges of their MBR by definition. In some cases this would help save decoding triangles and running costly point-in-triangle computations.

      Attachments

        1. fig1.png
          16 kB
          Igor Motov
        2. fig2.png
          14 kB
          Igor Motov
        3. fig3.png
          13 kB
          Igor Motov

        Issue Links

          Activity

            People

              ivera Ignacio Vera
              jpountz Adrien Grand
              Votes:
              0 Vote for this issue
              Watchers:
              4 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 - 40m
                  40m