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

Result Grouping: Number of results in group is not according to specs

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 4.7.1
    • 8.2
    • search, SolrCloud
    • None

    Description

      When using result grouping (group=true), Solr specs state the following about the "rows" and "group.limit" params:
      rows - The number of groups to return.
      group.limit - Number of rows to return in each group.

      We are using Solr cloud with a single collection and 64 shards.
      When grouping by field (i.e. using the group.field parameter), the behavior is as expected.
      However, when grouping by query (using group.query), the number of documents inside each group is affected by the rows param, instead of the group.limit param.
      This is different than what is mentioned in the specs.

      Moreover, when switching to a non-sharded environment (64 collections, 1 shard per collection), the behavior is different, and the number of docs inside each group is affected by the group.query param, as expected.

      Attachments

        Issue Links

          Activity

            People

              munendrasn Munendra S N
              esthergold Esther Goldbraich
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: