Solr
  1. Solr
  2. SOLR-4642

QueryResultKey, bug in filter hashCode

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 4.2
    • Fix Version/s: 4.2.1, 4.3, Trunk
    • 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
        0.5 kB
        Joel Bernstein
      2. SOLR-4642.patch
        3 kB
        Mark Miller

        Activity

        Hide
        Uwe Schindler added a comment -

        Closed after release.

        Show
        Uwe Schindler added a comment - Closed after release.
        Hide
        Mark Miller added a comment -

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

        Show
        Mark Miller added a comment - Thanks Joel! Tossed this in 4.2.1 as well - kind of a nasty bug really.
        Hide
        Mark Miller added a comment -

        I've added a super simple test for this.

        Show
        Mark Miller added a comment - I've added a super simple test for this.
        Hide
        Joel Bernstein added a comment -

        Thanks!

        Show
        Joel Bernstein added a comment - Thanks!
        Hide
        Mark Miller added a comment -

        Nice catch Joel!

        Show
        Mark Miller added a comment - Nice catch Joel!
        Hide
        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 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.

          People

          • Assignee:
            Mark Miller
            Reporter:
            Joel Bernstein
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development