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

PointRangeQuery.equals does not work

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Blocker
    • Resolution: Fixed
    • None
    • 6.0
    • None
    • None
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: