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

PointRangeQuery.equals does not work

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 6.0
    • Component/s: None
    • Labels:
      None
    • Lucene Fields:
      New

      Description

      Here is a simple unit test that fails:

        public void testPointRangeEquals() {
          Query q1 = LongPoint.newRangeQuery("a", 0, 1000);
          Query q2 = LongPoint.newRangeQuery("a", 0, 1000);
          assertEquals(q1, q2);
        }
      

        Attachments

        1. LUCENE-7085.patch
          15 kB
          Michael McCandless

          Activity

            People

            • Assignee:
              mikemccand Michael McCandless
              Reporter:
              jpountz Adrien Grand
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: