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

PointRangeQuery and PointInSetQuery .equals and .hashCode methods are buggy

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • 6.0
    • 6.0, 6.1, 7.0
    • None
    • None
    • New

    Description

      Caught while cutting over spatial-extras from LegacyDoubleField to DoublePoint field:

      PointRangeQuery.equals() and .hashCode fails with a false positive if the Ranges are identical but field is different.

      Attachments

        1. LUCENE-7133.patch
          15 kB
          Michael McCandless

        Issue Links

          Activity

            People

              mikemccand Michael McCandless
              nknize Nick Knize
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: