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

Add minimum group count for Field Collapsing

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • None
    • None
    • search

    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

      Attachments

        Activity

          People

            Unassigned Unassigned
            kellen Kellen Sunderland
            Votes:
            3 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: