Method | Description | |
---|---|---|
AddRange ( double from, double to ) : |
Adds a range entry with explicit from and to.
|
|
AddRange ( string from, string to ) : |
||
AddUnboundedFrom ( double to ) : |
Adds a range entry with explicit to and unbounded from.
|
|
AddUnboundedFrom ( string to ) : |
||
AddUnboundedTo ( double from ) : |
Adds a range entry with explicit from and unbounded to.
|
|
AddUnboundedTo ( string from ) : |
||
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 range facet. Translates to perform the range 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.
|
|
KeyField ( string keyField ) : |
The field name to use in order to control where the hit will "fall into" within the range 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.
|
|
RangeFacetBuilder ( string name ) : System.Collections.Generic |
Constructs a new range facet with the provided facet logical name.
|
|
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 AddRange ( double from, double to ) : |
||
from | double | The from range limit |
to | double | The to range limit |
return |
public AddRange ( string from, string to ) : |
||
from | string | |
to | string | |
return |
public AddUnboundedFrom ( double to ) : |
||
to | double | The to range limit, from is unbounded. |
return |
public AddUnboundedFrom ( string to ) : |
||
to | string | |
return |
public AddUnboundedTo ( double from ) : |
||
from | double | the from range limit, to is unbounded. |
return |
public AddUnboundedTo ( string from ) : |
||
from | string | |
return |
public FacetFilter ( IFilterBuilder filter ) : |
||
filter | IFilterBuilder | |
return |
public Field ( string field ) : |
||
field | string | |
return |
public Global ( bool global ) : |
||
global | bool | |
return |
public KeyField ( string keyField ) : |
||
keyField | string | |
return |
public Nested ( string nested ) : |
||
nested | string | |
return |
public RangeFacetBuilder ( string name ) : System.Collections.Generic | ||
name | string | The logical name of the facet |
return | System.Collections.Generic |
public Scope ( string scope ) : |
||
scope | string | |
return |
public ValueField ( string valueField ) : |
||
valueField | string | |
return |