Lucene - Core
  1. Lucene - Core
  2. LUCENE-4914

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

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 4.2
    • Fix Version/s: 4.3, 5.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.

        Activity

        Hide
        David Smiley added a comment -

        I'll commit to both branches momentarily.

        Show
        David Smiley added a comment - I'll commit to both branches momentarily.
        Hide
        Uwe Schindler added a comment -

        Closed after release.

        Show
        Uwe Schindler added a comment - Closed after release.

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development