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

equals method of TermsFilter might equate two different filters

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 4.7
    • 4.7.1, 4.8, 6.0
    • core/query/scoring
    • None
    • New, Patch Available

    Description

      If two terms filters have 1) the same number of terms, 2) use the same field in all these terms and 3) term values happened to have the same hash codes, these two filter are considered to be equal as long as the first term is the same in both filters.

      Attachments

        1. LUCENE-5502.patch
          2 kB
          Igor Motov
        2. LUCENE-5502.patch
          2 kB
          Igor Motov
        3. LUCENE-5502.patch
          3 kB
          Igor Motov

        Activity

          People

            jpountz Adrien Grand
            imotov Igor Motov
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: