메소드 | 설명 | |
---|---|---|
Bounds ( object from, object to ) : |
Sets the bounds from and to for the facet. Both performs bounds check and includes only values within the bounds, and improves performance.
|
|
Comparator ( HistogramComparatorType comparatorType ) : |
||
FacetFilter ( IFilterBuilder filter ) : |
An additional filter used to further filter down the set of documents the facet will run on.
|
|
Field ( string field ) : |
The field name to perform the histogram facet. Translates to perform the histogram facet using the provided field as both the {@link #keyField(string)} and {@link #valueField(string)}.
|
|
Global ( bool global ) : |
Should the facet run in global mode (not bounded by the search query) or not (bounded by the search query). Defaults to false.
|
|
HistogramFacetBuilder ( string name ) : System |
Constructs a new histogram facet with the provided facet logical name.
|
|
Interval ( System.TimeSpan span ) : |
The interval used to control the bucket "size" where each key value of a hit will fall into.
|
|
Interval ( long interval ) : |
The interval used to control the bucket "size" where each key value of a hit will fall into.
|
|
KeyField ( string keyField ) : |
The field name to use in order to control where the hit will "fall into" within the histogram entries. Essentially, using the key field numeric value, the hit will be "rounded" into the relevant bucket controlled by the interval.
|
|
Nested ( string nested ) : |
Sets the nested path the facet will execute on. A match (root object) will then cause all the nested objects matching the path to be computed into the facet.
|
|
Scope ( string scope ) : |
Marks the facet to run in a specific scope.
|
|
ToJsonObject ( ) : object | ||
ValueField ( string valueField ) : |
The field name to use as the value of the hit to compute data based on values within the interval (for example, total).
|
public Bounds ( object from, object to ) : |
||
from | object | |
to | object | |
리턴 |
public Comparator ( HistogramComparatorType comparatorType ) : |
||
comparatorType | HistogramComparatorType | |
리턴 |
public FacetFilter ( IFilterBuilder filter ) : |
||
filter | IFilterBuilder | |
리턴 |
public Field ( string field ) : |
||
field | string | |
리턴 |
public Global ( bool global ) : |
||
global | bool | |
리턴 |
public HistogramFacetBuilder ( string name ) : System | ||
name | string | |
리턴 | System |
public Interval ( System.TimeSpan span ) : |
||
span | System.TimeSpan | |
리턴 |
public Interval ( long interval ) : |
||
interval | long | |
리턴 |
public KeyField ( string keyField ) : |
||
keyField | string | |
리턴 |
public Nested ( string nested ) : |
||
nested | string | |
리턴 |
public Scope ( string scope ) : |
||
scope | string | |
리턴 |
public ValueField ( string valueField ) : |
||
valueField | string | |
리턴 |