Summary
Partitions the result of the specified modules into groups with matching keys
based on the value at the specified metadata key.
If a document to group does not contain the specified metadata key, it is not included in any output groups.
The input documents to GroupBy are used as
the initial input documents to the specified modules.
Syntax
public GroupBy(string keyMetadataKey, IEnumerable<IModule> modules)
Parameters
Name |
Type |
Description |
keyMetadataKey |
string |
The key metadata key. |
modules |
IEnumerable<IModule> |
Modules to execute on the input documents prior to grouping. |
Return Value