Constructor TermDistinctValuesCollector
TermDistinctValuesCollector(String, String, IEnumerable<ISearchGroup<BytesRef>>)
Constructs TermDistinctValuesCollector instance.
Declaration
public TermDistinctValuesCollector(string groupField, string countField, IEnumerable<ISearchGroup<BytesRef>> groups)
Parameters
Type | Name | Description |
---|---|---|
System.String | groupField | The field to group by |
System.String | countField | The field to count distinct values for |
IEnumerable<ISearchGroup<BytesRef>> | groups | The top N groups, collected during the first phase search |