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

Spatial RPT CONTAINS predicate will fail with NPE when there's no indexed data

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 4.4
    • 4.5, 6.0
    • modules/spatial
    • None
    • New, Patch Available

    Description

      If there is no indexed spatial data, the SpatialRecursivePrefixTree strategy will fail with an NPE if the Contains predicate is used. I'm not certain but it might fail even when there is data, when termsEnum reaches the end.

      (bug found via randomized testing & continuous integration)

      Attachments

        1. LUCENE-5132.patch
          3 kB
          David Smiley

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: