Method GetTopGroupsWithAllChildDocs
GetTopGroupsWithAllChildDocs(ToParentBlockJoinQuery, Sort, Int32, Int32, Boolean)
Returns the TopGroups<TGroupValue> for the specified BlockJoinQuery. The groupValue of each
GroupDocs will be the parent docID for that group. The number of documents within
each group equals to the total number of matched child documents for that group.
Returns null
if no groups matched.
Declaration
public virtual ITopGroups<int> GetTopGroupsWithAllChildDocs(ToParentBlockJoinQuery query, Sort withinGroupSort, int offset, int withinGroupOffset, bool fillSortFields)
Parameters
Type | Name | Description |
---|---|---|
ToParentBlockJoinQuery | query | Search query |
Sort | withinGroupSort | Sort criteria within groups |
System.Int32 | offset | Parent docs offset |
System.Int32 | withinGroupOffset | Offset within each group of child docs |
System.Boolean | fillSortFields | Specifies whether to add sort fields or not |
Returns
Type | Description |
---|---|
ITopGroups<System.Int32> | ITopGroups<TGroupValue> for specified query |