Constructor Int64RangeFacetCounts
Int64RangeFacetCounts(String, FacetsCollector, Int64Range[])
Create Int64RangeFacetCounts, using Int64FieldSource from the specified field.
Declaration
public Int64RangeFacetCounts(string field, FacetsCollector hits, params Int64Range[] ranges)
Parameters
Type | Name | Description |
---|---|---|
System.String | field | |
FacetsCollector | hits | |
Int64Range[] | ranges |
Int64RangeFacetCounts(String, ValueSource, FacetsCollector, Int64Range[])
Create Int64RangeFacetCounts, using the provided ValueSource.
Declaration
public Int64RangeFacetCounts(string field, ValueSource valueSource, FacetsCollector hits, params Int64Range[] ranges)
Parameters
Type | Name | Description |
---|---|---|
System.String | field | |
ValueSource | valueSource | |
FacetsCollector | hits | |
Int64Range[] | ranges |
Int64RangeFacetCounts(String, ValueSource, FacetsCollector, Filter, Int64Range[])
Create Int64RangeFacetCounts, using the provided ValueSource, and using the provided Filter as a fastmatch: only documents passing the filter are checked for the matching ranges. The filter must be random access (implement Bits).
Declaration
public Int64RangeFacetCounts(string field, ValueSource valueSource, FacetsCollector hits, Filter fastMatchFilter, params Int64Range[] ranges)
Parameters
Type | Name | Description |
---|---|---|
System.String | field | |
ValueSource | valueSource | |
FacetsCollector | hits | |
Filter | fastMatchFilter | |
Int64Range[] | ranges |