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

stats on multivalued fields don't respect excluded filters

    Details

    • Type: Bug
    • Status: Closed
    • Priority: 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
        hossman 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
        hossman 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
        hossman Hoss Man added a comment -

        beefed up the tests

        Show
        hossman Hoss Man added a comment - beefed up the tests
        Hide
        jira-bot 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
        jira-bot 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
        jira-bot 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
        jira-bot 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
        jira-bot 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
        jira-bot 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
        mikemccand Michael McCandless added a comment -

        Bulk close for Lucene/Solr 4.10.1 release

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

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development