Package org.nuxeo.elasticsearch.api
Interface ESHintQueryBuilder
-
- All Known Implementing Classes:
AbstractGeoESHintQueryBuilder
,CommonESHintQueryBuilder
,FuzzyESHintQueryBuilder
,GeoBoundingBoxESHintQueryBuilder
,GeoDistanceESHintQueryBuilder
,GeoShapeESHintQueryBuilder
,MatchESHintQueryBuilder
,MatchPhraseESHintQueryBuilder
,MatchPhrasePrefixESHintQueryBuilder
,MoreLikeThisESHintQueryBuilder
,MultiMatchESHintQueryBuilder
,QueryStringESHintQueryBuilder
,RegexESHintQueryBuilder
,SimpleQueryStringESHintQueryBuilder
,WildcardESHintQueryBuilder
public interface ESHintQueryBuilder
Converts an NXQL Elasticsearch Hint intoQueryBuilder
.- Since:
- 11.1
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description org.elasticsearch.index.query.QueryBuilder
make(EsHint hint, String fieldName, Object value)
Builds the ElasticsearchQueryBuilder
.
-
-
-
Method Detail
-
make
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:
- the
QueryBuilder
corresponding to theelasticsearch hint
-
-