Метод | Описание | |
---|---|---|
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 | |
Результат |