Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-4642

QueryResultKey, bug in filter hashCode

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 4.2
    • Fix Version/s: 4.2.1, 4.3, 6.0
    • Component/s: search
    • Labels:
      None

      Description

      Looks like the QueryResultKey has a bug when it creates the hashCode for the filters.

      1. SOLR-4642.patch
        3 kB
        Mark Miller
      2. SOLR-4642.patch
        0.5 kB
        Joel Bernstein

        Activity

        Hide
        joel.bernstein Joel Bernstein added a comment -

        This bug is in 4x and trunk. Unless I'm missing something, the code is calling hashCode on the list of Queries rather then the individual queries.

        Show
        joel.bernstein Joel Bernstein added a comment - This bug is in 4x and trunk. Unless I'm missing something, the code is calling hashCode on the list of Queries rather then the individual queries.
        Hide
        markrmiller@gmail.com Mark Miller added a comment -

        Nice catch Joel!

        Show
        markrmiller@gmail.com Mark Miller added a comment - Nice catch Joel!
        Hide
        joel.bernstein Joel Bernstein added a comment -

        Thanks!

        Show
        joel.bernstein Joel Bernstein added a comment - Thanks!
        Hide
        markrmiller@gmail.com Mark Miller added a comment -

        I've added a super simple test for this.

        Show
        markrmiller@gmail.com Mark Miller added a comment - I've added a super simple test for this.
        Hide
        markrmiller@gmail.com Mark Miller added a comment -

        Thanks Joel! Tossed this in 4.2.1 as well - kind of a nasty bug really.

        Show
        markrmiller@gmail.com Mark Miller added a comment - Thanks Joel! Tossed this in 4.2.1 as well - kind of a nasty bug really.
        Hide
        thetaphi Uwe Schindler added a comment -

        Closed after release.

        Show
        thetaphi Uwe Schindler added a comment - Closed after release.

          People

          • Assignee:
            markrmiller@gmail.com Mark Miller
            Reporter:
            joel.bernstein Joel Bernstein
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development