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

PointRangeQuery and PointInSetQuery .equals and .hashCode methods are buggy

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 6.0
    • Fix Version/s: 6.0, 6.1, 7.0
    • Component/s: None
    • Labels:
      None
    • Lucene Fields:
      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

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

                Dates

                • Created:
                  Updated:
                  Resolved: