Constructor GroupingSearch
GroupingSearch(String)
Constructs a GroupingSearch instance that groups documents by index terms using the FieldCache. The group field can only have one token per document. This means that the field must not be analysed.
Declaration
public GroupingSearch(string groupField)
Parameters
Type | Name | Description |
---|---|---|
System.String | groupField | The name of the field to group by. |
GroupingSearch(ValueSource, IDictionary)
Constructs a GroupingSearch instance that groups documents by function using a ValueSource instance.
Declaration
public GroupingSearch(ValueSource groupFunction, IDictionary valueSourceContext)
Parameters
Type | Name | Description |
---|---|---|
ValueSource | groupFunction | The function to group by specified as ValueSource |
IDictionary | valueSourceContext | The context of the specified groupFunction |
GroupingSearch(Filter)
Constructor for grouping documents by doc block. This constructor can only be used when documents belonging in a group are indexed in one block.
Declaration
public GroupingSearch(Filter groupEndDocs)
Parameters
Type | Name | Description |
---|---|---|
Filter | groupEndDocs | The filter that marks the last document in all doc blocks |