Lucene - Core
  1. Lucene - Core
  2. LUCENE-2092

BooleanQuery.hashCode and equals ignore isCoordDisabled

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.9, 2.0.0, 2.1, 2.2, 2.3, 2.3.1, 2.3.2, 2.4, 2.4.1, 2.9, 2.9.1
    • Fix Version/s: 2.9.2, 3.0.1, 4.0-ALPHA
    • Component/s: core/query/scoring
    • Labels:
      None
    • Lucene Fields:
      New

      Description

      BooleanQuery.isCoordDisabled() is not considered by BooleanQuery's hashCode() or equals() methods ... this can cause serious badness to happen when caching BooleanQueries.

      bug traces back to at least 1.9

      1. LUCENE-2092.patch
        3 kB
        Michael McCandless

        Activity

        Hoss Man created issue -
        Michael McCandless made changes -
        Field Original Value New Value
        Assignee Michael McCandless [ mikemccand ]
        Michael McCandless made changes -
        Attachment LUCENE-2092.patch [ 12425905 ]
        Uwe Schindler made changes -
        Fix Version/s 2.9.2 [ 12314342 ]
        Fix Version/s 3.0.1 [ 12314401 ]
        Fix Version/s 3.1 [ 12314025 ]
        Michael McCandless made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Uwe Schindler made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Mark Thomas made changes -
        Workflow jira [ 12482859 ] Default workflow, editable Closed status [ 12562801 ]
        Mark Thomas made changes -
        Workflow Default workflow, editable Closed status [ 12562801 ] jira [ 12583713 ]

          People

          • Assignee:
            Michael McCandless
            Reporter:
            Hoss Man
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development