Package org.nuxeo.elasticsearch.hint
Class MatchPhrasePrefixESHintQueryBuilder
- java.lang.Object
-
- org.nuxeo.elasticsearch.hint.MatchPhrasePrefixESHintQueryBuilder
-
- All Implemented Interfaces:
ESHintQueryBuilder
public class MatchPhrasePrefixESHintQueryBuilder extends Object implements ESHintQueryBuilder
The implementation ofESHintQueryBuilder
for the "match_phrase_prefix" Elasticsearch hint operator.- Since:
- 11.1
-
-
Constructor Summary
Constructors Constructor Description MatchPhrasePrefixESHintQueryBuilder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected int
getMaxExpansions()
org.elasticsearch.index.query.QueryBuilder
make(EsHint hint, String fieldName, Object value)
Builds the ElasticsearchQueryBuilder
.
-
-
-
Method Detail
-
make
public org.elasticsearch.index.query.QueryBuilder make(EsHint hint, String fieldName, Object value)
Builds the ElasticsearchQueryBuilder
.- Specified by:
make
in interfaceESHintQueryBuilder
- Parameters:
hint
- the elasticsearch hintfieldName
- the elasticsearch field namevalue
- the value that we are looking for- Returns:
MatchPhrasePrefixQueryBuilder
-
getMaxExpansions
protected int getMaxExpansions()
-
-