Solr
  1. Solr
  2. SOLR-7068

Collapse on numeric field breaks when min/max values are negative.

    Details

    • Type: Bug Bug
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: 5.0, 6.0
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      The new Solr 5.0 CollapsingQParserPlugin does not collapse properly when collapsing on numeric field and min/max values are negative.

      1. SOLR-7068.patch
        23 kB
        Joel Bernstein

        Activity

        Hide
        Joel Bernstein added a comment -

        Patch that resolves the issue and adds test cases.

        Show
        Joel Bernstein added a comment - Patch that resolves the issue and adds test cases.
        Hide
        ASF subversion and git services added a comment -

        Commit 1656335 from Joel Bernstein in branch 'dev/trunk'
        [ https://svn.apache.org/r1656335 ]

        SOLR-7068: Collapse on numeric field breaks when min/max values are negative.

        Show
        ASF subversion and git services added a comment - Commit 1656335 from Joel Bernstein in branch 'dev/trunk' [ https://svn.apache.org/r1656335 ] SOLR-7068 : Collapse on numeric field breaks when min/max values are negative.
        Hide
        ASF subversion and git services added a comment -

        Commit 1656346 from Joel Bernstein in branch 'dev/branches/branch_5x'
        [ https://svn.apache.org/r1656346 ]

        SOLR-7068: Collapse on numeric field breaks when min/max values are negative.

        Show
        ASF subversion and git services added a comment - Commit 1656346 from Joel Bernstein in branch 'dev/branches/branch_5x' [ https://svn.apache.org/r1656346 ] SOLR-7068 : Collapse on numeric field breaks when min/max values are negative.
        Hide
        Joel Bernstein added a comment -

        This is purely a bugfix and only effects the CollapsingQParserPlugin, so I think it's safe to backport for 5.0. I'll be doing this shortly.

        Show
        Joel Bernstein added a comment - This is purely a bugfix and only effects the CollapsingQParserPlugin, so I think it's safe to backport for 5.0. I'll be doing this shortly.
        Hide
        ASF subversion and git services added a comment -

        Commit 1656465 from Joel Bernstein in branch 'dev/branches/lucene_solr_5_0'
        [ https://svn.apache.org/r1656465 ]

        SOLR-7068: Collapse on numeric field breaks when min/max values are negative.

        Show
        ASF subversion and git services added a comment - Commit 1656465 from Joel Bernstein in branch 'dev/branches/lucene_solr_5_0' [ https://svn.apache.org/r1656465 ] SOLR-7068 : Collapse on numeric field breaks when min/max values are negative.
        Hide
        ASF subversion and git services added a comment -

        Commit 1656466 from Joel Bernstein in branch 'dev/trunk'
        [ https://svn.apache.org/r1656466 ]

        SOLR-7068: Update CHANGES.txt

        Show
        ASF subversion and git services added a comment - Commit 1656466 from Joel Bernstein in branch 'dev/trunk' [ https://svn.apache.org/r1656466 ] SOLR-7068 : Update CHANGES.txt
        Hide
        ASF subversion and git services added a comment -

        Commit 1656467 from Joel Bernstein in branch 'dev/branches/branch_5x'
        [ https://svn.apache.org/r1656467 ]

        SOLR-7068: Update CHANGES.txt

        Show
        ASF subversion and git services added a comment - Commit 1656467 from Joel Bernstein in branch 'dev/branches/branch_5x' [ https://svn.apache.org/r1656467 ] SOLR-7068 : Update CHANGES.txt
        Hide
        ASF subversion and git services added a comment -

        Commit 1656468 from Joel Bernstein in branch 'dev/branches/lucene_solr_5_0'
        [ https://svn.apache.org/r1656468 ]

        SOLR-7068: Update CHANGES.txt

        Show
        ASF subversion and git services added a comment - Commit 1656468 from Joel Bernstein in branch 'dev/branches/lucene_solr_5_0' [ https://svn.apache.org/r1656468 ] SOLR-7068 : Update CHANGES.txt

          People

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

            Dates

            • Created:
              Updated:

              Development