Method | Description | |
---|---|---|
AddRange ( double from, double to ) : |
Adds a range entry with explicit from and to.
|
|
AddUnboundedFrom ( double to ) : |
Adds a range entry with explicit to and unbounded from.
|
|
AddUnboundedTo ( double from ) : |
Adds a range entry with explicit from and unbounded to.
|
|
FacetFilter ( IFilterBuilder filter ) : |
An additional filter used to further filter down the set of documents the facet will run on.
|
|
Field ( string fieldName ) : |
The geo point field that will be used to extract the document location(s).
|
|
GeoDistance ( GeoDistance geoDistance ) : |
The geo distance type used to compute the distance.
|
|
GeoDistanceFacetBuilder ( string name ) : System |
Constructs a new geo distance with the provided facet name.
|
|
Geohash ( string geohash ) : |
The geohash of the geo point to create the range distance facets from.
|
|
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.
|
|
Lang ( string lang ) : |
The language of the {@link #valueScript(string)} script.
|
|
Lat ( double lat ) : |
The latitude to create the range distance facets from.
|
|
Lon ( double lon ) : |
The longitude to create the range distance facets from.
|
|
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.
|
|
Point ( double lat, double lon ) : |
The point to create the range distance facets from.
|
|
Scope ( string scope ) : |
Marks the facet to run in a specific scope.
|
|
ScriptParam ( string name, object value ) : |
Parameters for {@link #valueScript(string)} to improve performance when executing the same script with different parameters.
|
|
ToJsonObject ( ) : object | ||
Unit ( DistanceUnit unit ) : |
The distance unit to use. Defaults to {@link org.elasticsearch.common.unit.DistanceUnit#KILOMETERS}
|
|
ValueField ( string valueFieldName ) : |
A custom value field (numeric) that will be used to provide aggregated data for each facet (for example, total).
|
|
ValueScript ( string valueScript ) : |
A custom value script (result is numeric) that will be used to provide aggregated data for each facet (for example, total).
|
public AddRange ( double from, double to ) : |
||
from | double | The from distance limit |
to | double | The to distance limit |
return |
public AddUnboundedFrom ( double to ) : |
||
to | double | The to distance limit, from is unbounded. |
return |
public AddUnboundedTo ( double from ) : |
||
from | double | The from distance limit, to is unbounded. |
return |
public FacetFilter ( IFilterBuilder filter ) : |
||
filter | IFilterBuilder | |
return |
public Field ( string fieldName ) : |
||
fieldName | string | |
return |
public GeoDistance ( GeoDistance geoDistance ) : |
||
geoDistance | GeoDistance | |
return |
public GeoDistanceFacetBuilder ( string name ) : System | ||
name | string | |
return | System |
public Geohash ( string geohash ) : |
||
geohash | string | |
return |
public Global ( bool global ) : |
||
global | bool | |
return |
public Lang ( string lang ) : |
||
lang | string | |
return |
public Lat ( double lat ) : |
||
lat | double | |
return |
public Lon ( double lon ) : |
||
lon | double | |
return |
public Nested ( string nested ) : |
||
nested | string | |
return |
public Point ( double lat, double lon ) : |
||
lat | double | Latitude |
lon | double | Longitude |
return |
public Scope ( string scope ) : |
||
scope | string | |
return |
public ScriptParam ( string name, object value ) : |
||
name | string | |
value | object | |
return |
public Unit ( DistanceUnit unit ) : |
||
unit | DistanceUnit | |
return |
public ValueField ( string valueFieldName ) : |
||
valueFieldName | string | |
return |
public ValueScript ( string valueScript ) : |
||
valueScript | string | |
return |