Package org.nuxeo.elasticsearch.hint
Class GeoDistanceESHintQueryBuilder
- java.lang.Object
-
- org.nuxeo.elasticsearch.hint.AbstractGeoESHintQueryBuilder
-
- org.nuxeo.elasticsearch.hint.GeoDistanceESHintQueryBuilder
-
- All Implemented Interfaces:
ESHintQueryBuilder
public class GeoDistanceESHintQueryBuilder extends AbstractGeoESHintQueryBuilder
The implementation ofESHintQueryBuilder
for the "geo_distance" Elasticsearch hint operator.- Since:
- 11.1
-
-
Constructor Summary
Constructors Constructor Description GeoDistanceESHintQueryBuilder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.elasticsearch.index.query.QueryBuilder
make(EsHint hint, String fieldName, Object value)
Builds the ElasticsearchQueryBuilder
.-
Methods inherited from class org.nuxeo.elasticsearch.hint.AbstractGeoESHintQueryBuilder
parseGeoPointString, validate
-
-
-
-
Method Detail
-
make
public org.elasticsearch.index.query.QueryBuilder make(EsHint hint, String fieldName, Object value)
Builds the ElasticsearchQueryBuilder
.- Parameters:
hint
- the elasticsearch hintfieldName
- the elasticsearch field namevalue
- the value that we are looking for- Returns:
GeoDistanceQueryBuilder
-
-