Solr
  1. Solr
  2. SOLR-6493

stats on multivalued fields don't respect excluded filters

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 4.8, 4.9, 4.10
    • Fix Version/s: 4.10.1, 5.0, 6.0
    • Component/s: None
    • Labels:
      None

      Description

      SOLR-3177 added support to StatsComponent for using the "ex" local param to exclude tagged filters, but these exclusions have apparently never been correct for multivalued fields

      1. SOLR-6493.patch
        22 kB
        Hoss Man
      2. SOLR-6493.patch
        7 kB
        Hoss Man

        Activity

        Hide
        Hoss Man added a comment -

        FWIW: I discovered this while experimenting with some refactoring of StatsComponent to make SOLR-6348's su-tasks more viable.


        attached patch showing trivial fix and some example test cases for reproducing.

        nocommits in test just to remind me to make it more robust before committing, hopefully i'll wrap this up tomorrow.

        Show
        Hoss Man added a comment - FWIW: I discovered this while experimenting with some refactoring of StatsComponent to make SOLR-6348 's su-tasks more viable. attached patch showing trivial fix and some example test cases for reproducing. nocommits in test just to remind me to make it more robust before committing, hopefully i'll wrap this up tomorrow.
        Hide
        Hoss Man added a comment -

        beefed up the tests

        Show
        Hoss Man added a comment - beefed up the tests
        Hide
        ASF subversion and git services added a comment -

        Commit 1623884 from hossman@apache.org in branch 'dev/trunk'
        [ https://svn.apache.org/r1623884 ]

        SOLR-6493: Fix fq exclusion via ex local param in multivalued stats.field

        Show
        ASF subversion and git services added a comment - Commit 1623884 from hossman@apache.org in branch 'dev/trunk' [ https://svn.apache.org/r1623884 ] SOLR-6493 : Fix fq exclusion via ex local param in multivalued stats.field
        Hide
        ASF subversion and git services added a comment -

        Commit 1623893 from hossman@apache.org in branch 'dev/branches/branch_4x'
        [ https://svn.apache.org/r1623893 ]

        SOLR-6493: Fix fq exclusion via ex local param in multivalued stats.field (merge r1623884)

        Show
        ASF subversion and git services added a comment - Commit 1623893 from hossman@apache.org in branch 'dev/branches/branch_4x' [ https://svn.apache.org/r1623893 ] SOLR-6493 : Fix fq exclusion via ex local param in multivalued stats.field (merge r1623884)
        Hide
        ASF subversion and git services added a comment -

        Commit 1624131 from hossman@apache.org in branch 'dev/branches/lucene_solr_4_10'
        [ https://svn.apache.org/r1624131 ]

        SOLR-6493: Fix fq exclusion via ex local param in multivalued stats.field (merge r1623893)

        Show
        ASF subversion and git services added a comment - Commit 1624131 from hossman@apache.org in branch 'dev/branches/lucene_solr_4_10' [ https://svn.apache.org/r1624131 ] SOLR-6493 : Fix fq exclusion via ex local param in multivalued stats.field (merge r1623893)
        Hide
        Michael McCandless added a comment -

        Bulk close for Lucene/Solr 4.10.1 release

        Show
        Michael McCandless added a comment - Bulk close for Lucene/Solr 4.10.1 release

          People

          • Assignee:
            Hoss Man
            Reporter:
            Hoss Man
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development