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

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

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 4.2
    • 4.3, 6.0
    • modules/spatial
    • None
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: