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

Surround Query doesn't properly handle equals/hashcode

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 3.0.3, 3.1, 4.0-ALPHA
    • 4.0-ALPHA
    • None
    • None

    Description

      In looking at using the surround queries with Solr, I am hitting issues caused by collisions due to equals/hashcode not being implemented on the anonymous inner classes that are created by things like DistanceQuery (branch 3.x, near line 76)

      Attachments

        1. LUCENE-2945.patch
          14 kB
          Grant Ingersoll
        2. LUCENE-2945.patch
          6 kB
          Grant Ingersoll
        3. LUCENE-2945.patch
          4 kB
          Paul Elschot
        4. LUCENE-2945c.patch
          14 kB
          Paul Elschot
        5. LUCENE-2945d.patch
          23 kB
          Paul Elschot
        6. LUCENE-2945d.patch
          21 kB
          Paul Elschot
        7. LUCENE-2945e.patch
          23 kB
          Simon Rosenthal
        8. LUCENE-2945e.patch
          23 kB
          Simon Rosenthal
        9. LUCENE-2945-partial1.patch
          8 kB
          Paul Elschot

        Issue Links

          Activity

            People

              ehatcher Erik Hatcher
              gsingers Grant Ingersoll
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: