Package org.nuxeo.elasticsearch.hint
Class MatchPhraseESHintQueryBuilder
- java.lang.Object
-
- org.nuxeo.elasticsearch.hint.MatchPhraseESHintQueryBuilder
-
- All Implemented Interfaces:
ESHintQueryBuilder
public class MatchPhraseESHintQueryBuilder extends Object implements ESHintQueryBuilder
The implementation ofESHintQueryBuilder
for the "match_phrase" Elasticsearch hint operator.- Since:
- 11.1
-
-
Constructor Summary
Constructors Constructor Description MatchPhraseESHintQueryBuilder()
-
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
.
-
-
-
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:
MatchPhraseQueryBuilder
-
-