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

PointRangeQuery and PointInSetQuery .equals and .hashCode methods are buggy

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    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

        Issue Links

          Activity

            People

            • Assignee:
              mikemccand Michael McCandless
              Reporter:
              nknize Nick Knize

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment