Esther Goldbraich created SOLR-7939:
---------------------------------------

             Summary: Result Grouping: Number of results in group is not 
according to specs
                 Key: SOLR-7939
                 URL: https://issues.apache.org/jira/browse/SOLR-7939
             Project: Solr
          Issue Type: Bug
          Components: search, SolrCloud
    Affects Versions: 4.7.1
            Reporter: Esther Goldbraich


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.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to