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

BooleanQuery.equals should ignore clause order

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 5.4, 6.0
    • None
    • None
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: