메소드 | 설명 | |
---|---|---|
Comparator ( DateHistogramComparatorType comparatorType ) : |
||
DateHistogramFacetBuilder ( string name ) : System |
Constructs a new date histogram facet with the provided facet logical name.
|
|
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.
|
|
Interval ( string interval ) : |
The interval used to control the bucket "size" where each key value of a hit will fall into. Check the docs for all available values.
|
|
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.
|
|
Lang ( string lang ) : |
The language of the value script.
|
|
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.
|
|
Param ( string name, object value ) : |
||
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).
|
|
ValueScript ( string valueScript ) : |
||
Zone ( string zone ) : |
Sets the time zone to use when bucketing the values. Can either be in the form of "-10:00" or one of the values listed here: http://joda-time.sourceforge.net/timezones.html.
|
public Comparator ( DateHistogramComparatorType comparatorType ) : |
||
comparatorType | DateHistogramComparatorType | |
리턴 |
public DateHistogramFacetBuilder ( string name ) : System | ||
name | string | |
리턴 | System |
public FacetFilter ( IFilterBuilder filter ) : |
||
filter | IFilterBuilder | |
리턴 |
public Field ( string field ) : |
||
field | string | |
리턴 |
public Global ( bool global ) : |
||
global | bool | |
리턴 |
public Interval ( string interval ) : |
||
interval | string | |
리턴 |
public KeyField ( string keyField ) : |
||
keyField | string | |
리턴 |
public Lang ( string lang ) : |
||
lang | string | |
리턴 |
public Nested ( string nested ) : |
||
nested | string | |
리턴 |
public Param ( string name, object value ) : |
||
name | string | |
value | object | |
리턴 |
public Scope ( string scope ) : |
||
scope | string | |
리턴 |
public ValueField ( string valueField ) : |
||
valueField | string | |
리턴 |
public ValueScript ( string valueScript ) : |
||
valueScript | string | |
리턴 |
public Zone ( string zone ) : |
||
zone | string | |
리턴 |