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

Spatial PrefixTree Node/Cell reset() doesn't reset 'leaf' flag

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 4.2
    • Fix Version/s: 4.3, 6.0
    • Component/s: modules/spatial
    • Labels:
      None
    • Lucene Fields:
      New, Patch Available

      Description

      The SpatialPrefixTree Cell (formerly known as "Node") was refactored in LUCENE-4794 which made it into Lucene 4.2. It introduced an explicit internal "leaf" flag that was formerly computed by examining shapeRel. However, reset() doesn't reset this new flag.

      The bug affects SpatialRecursivePrefixTreeStrategy on non-point indexed shapes.

        Attachments

          Activity

            People

            • Assignee:
              dsmiley David Smiley
              Reporter:
              dsmiley David Smiley
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: