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

Spatial RecursivePrefixTreeFilter has some bugs with indexing non-point shapes

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 4.0
    • 4.1, 6.0
    • modules/spatial
    • None
    • New

    Description

      RecursivePrefixTreeFilter has some bugs that can occur when searching indexed shapes. One bug is an unpositioned termsEnum. It through an exception in testing; I'm not sure what its effects would be in production. The other couple bugs are hard to describe here but were rare to occur in extensive testing. The effects were probably a slim chance of matching an indexed shape near the query shape. And SpatialPrefixTree does not support an indexed shape that covers the entire globe.

      These bugs were discovered during development of tests for RPTF LUCENE-4419 which I will submit shortly.

      Attachments

        1. LUCENE-4585_PrefixTree_bugs.patch
          11 kB
          David Smiley
        2. LUCENE-4585_PrefixTree_bugs.patch
          16 kB
          David Smiley

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: