Method GetAllMatchingGroups
GetAllMatchingGroups<T>()
If SetAllGroups(Boolean) was set to true
then all matching groups are returned, otherwise
an empty collection is returned.
Declaration
public virtual ICollection<T> GetAllMatchingGroups<T>()
Returns
Type | Description |
---|---|
ICollection<T> | all matching groups are returned, or an empty collection |
Type Parameters
Name | Description |
---|---|
T | The group value type. This can be a BytesRef or a MutableValue instance.
If grouping by doc block this the group value is always |
GetAllMatchingGroups()
If SetAllGroups(Boolean) was set to true
then all matching groups are returned, otherwise
an empty collection is returned.
Declaration
public virtual ICollection GetAllMatchingGroups()
Returns
Type | Description |
---|---|
ICollection | all matching groups are returned, or an empty collection |
Remarks
LUCENENET specific used to get the groups if the type is unknown or if the code expects any type, since GetAllMatchingGroups<T>() will throw an exception if the return type is incorrect.