Solr
  1. Solr
  2. SOLR-3152

Add minimum group count for Field Collapsing

    Details

    • Type: New Feature New Feature
    • Status: Open
    • Priority: Minor Minor
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: search
    • Labels:

      Description

      When performing field collapsing, it is occasionally desirable to filter out groups which have fewer than a given number of matches. So, for example:

      q=solr+memory&group=true&group.field=manu_exact&group.min=3

      would group on 'manu_exact', but exclude groups where numFound is less than 3.

      See also this stackoverflow question:
      http://stackoverflow.com/questions/9377743/how-to-retrieve-solr-documents-having-at-least-2-numfound-with-grouping

        Activity

          People

          • Assignee:
            Unassigned
            Reporter:
            Kellen Dye
          • Votes:
            5 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:

              Development