public abstract class TextQueryAbstractBuilder<T extends TextQueryAbstractBuilder<T>> extends Object
Constructor and Description |
---|
TextQueryAbstractBuilder() |
Modifier and Type | Method and Description |
---|---|
T |
withField(KeyAndBoost field) |
T |
withField(String field) |
T |
withField(String field,
Double boost) |
T |
withFields(List<KeyAndBoost> fields) |
MinimumMatchBuilder.Nested<T> |
withMinimumMatch() |
T |
withMinimumMatch(List<MinimumMatch> minMatches) |
T |
withMinimumMatch(MinimumMatch minMatch) |
T |
withMinimumShouldMatch(String minimumShouldMatch)
Deprecated.
|
T |
withPhraseField(KeyAndBoost phraseField) |
T |
withPhraseField(String phraseField) |
T |
withPhraseField(String phraseField,
Double boost) |
T |
withPhraseFields(List<KeyAndBoost> phraseFields) |
T |
withPhraseSlop(Integer phraseSlop) |
T |
withQueryPhraseSlop(Integer queryPhraseSlop) |
T |
withValue(String value) |
@Deprecated public T withMinimumShouldMatch(String minimumShouldMatch)
public T withMinimumMatch(MinimumMatch minMatch)
public T withMinimumMatch(List<MinimumMatch> minMatches)
public MinimumMatchBuilder.Nested<T> withMinimumMatch()
public T withFields(List<KeyAndBoost> fields)
public T withField(KeyAndBoost field)
public T withPhraseFields(List<KeyAndBoost> phraseFields)
public T withPhraseField(KeyAndBoost phraseField)