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

Surround Query doesn't properly handle equals/hashcode

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.0.3, 3.1, 4.0-ALPHA
    • Fix Version/s: 4.0-ALPHA
    • Component/s: None
    • Labels:
      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-partial1.patch
          8 kB
          Paul Elschot
        2. LUCENE-2945.patch
          4 kB
          Paul Elschot
        3. LUCENE-2945.patch
          6 kB
          Grant Ingersoll
        4. LUCENE-2945.patch
          14 kB
          Grant Ingersoll
        5. LUCENE-2945c.patch
          14 kB
          Paul Elschot
        6. LUCENE-2945d.patch
          21 kB
          Paul Elschot
        7. LUCENE-2945d.patch
          23 kB
          Paul Elschot
        8. LUCENE-2945e.patch
          23 kB
          Simon Rosenthal
        9. LUCENE-2945e.patch
          23 kB
          Simon Rosenthal

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: