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

BooleanQuery.equals should ignore clause order

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 5.4, 6.0
    • Component/s: None
    • Labels:
      None
    • Lucene Fields:
      New

      Description

      BooleanQuery.equals is sensitive to the order in which clauses have been added. So for instance "+A +B" would be considered different from "+B +A" although it generates the same matches and scores.

        Attachments

        1. LUCENE-6305.patch
          17 kB
          Adrien Grand
        2. LUCENE-6305.patch
          12 kB
          Adrien Grand
        3. LUCENE-6305.patch
          12 kB
          Adrien Grand

          Activity

            People

            • Assignee:
              jpountz Adrien Grand
              Reporter:
              jpountz Adrien Grand
            • Votes:
              0 Vote for this issue
              Watchers:
              9 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: