Lucene - Core
  1. Lucene - Core
  2. LUCENE-2945

Surround Query doesn't properly handle equals/hashcode

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Minor 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)

      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

          Uwe Schindler made changes -
          Status Resolved [ 5 ] Closed [ 6 ]
          Erik Hatcher made changes -
          Status Open [ 1 ] Resolved [ 5 ]
          Resolution Fixed [ 1 ]
          Erik Hatcher made changes -
          Fix Version/s 3.1.1 [ 12316256 ]
          Erik Hatcher made changes -
          Assignee Grant Ingersoll [ gsingers ] Erik Hatcher [ ehatcher ]
          Simon Rosenthal made changes -
          Link This issue is required by SOLR-2703 [ SOLR-2703 ]
          Simon Rosenthal made changes -
          Attachment LUCENE-2945e.patch [ 12489898 ]
          Simon Rosenthal made changes -
          Attachment LUCENE-2945e.patch [ 12489895 ]
          Paul Elschot made changes -
          Attachment LUCENE-2945d.patch [ 12474415 ]
          Paul Elschot made changes -
          Attachment LUCENE-2945d.patch [ 12473771 ]
          Paul Elschot made changes -
          Attachment LUCENE-2945c.patch [ 12473208 ]
          Grant Ingersoll made changes -
          Fix Version/s 3.1.1 [ 12316256 ]
          Fix Version/s 3.1 [ 12314822 ]
          Affects Version/s 3.1 [ 12314822 ]
          Grant Ingersoll made changes -
          Attachment LUCENE-2945.patch [ 12472749 ]
          Grant Ingersoll made changes -
          Attachment LUCENE-2945.patch [ 12472692 ]
          Paul Elschot made changes -
          Attachment LUCENE-2945.patch [ 12472458 ]
          Grant Ingersoll made changes -
          Assignee Grant Ingersoll [ gsingers ]
          Fix Version/s 3.1 [ 12314822 ]
          Fix Version/s 4.0 [ 12314025 ]
          Paul Elschot made changes -
          Field Original Value New Value
          Attachment LUCENE-2945-partial1.patch [ 12472358 ]
          Grant Ingersoll created issue -

            People

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

              Dates

              • Created:
                Updated:
                Resolved:

                Development