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

equals method of TermsFilter might equate two different filters

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 4.7
    • Fix Version/s: 4.7.1, 4.8, 6.0
    • Component/s: core/query/scoring
    • Labels:
      None
    • Lucene Fields:
      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
          3 kB
          Igor Motov
        2. LUCENE-5502.patch
          2 kB
          Igor Motov
        3. LUCENE-5502.patch
          2 kB
          Igor Motov

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: