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) |
T |
withMinimumShouldMatch(String minimumShouldMatch) |
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) |
public T withFields(List<KeyAndBoost> fields)
public T withField(KeyAndBoost field)
public T withPhraseFields(List<KeyAndBoost> phraseFields)
public T withPhraseField(KeyAndBoost phraseField)