Method SetAllGroups
SetAllGroups(Boolean)
Whether to also compute all groups matching the query. This can be used to determine the number of groups, which can be used for accurate pagination.
When grouping by doc block the number of groups are automatically included in the TopGroups and this option doesn't have any influence.
Declaration
public virtual GroupingSearch SetAllGroups(bool allGroups)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | allGroups | to also compute all groups matching the query |
Returns
Type | Description |
---|---|
GroupingSearch |
|