public class MultiMatchQuery extends BaseQueryImpl
Modifier and Type | Class and Description |
---|---|
static class |
MultiMatchQuery.Type |
BOOST_DEFAULT
Constructor and Description |
---|
MultiMatchQuery(String value) |
getBoost, getPostFilter, getPreBooleanFilter, getQueryConfig, getWrappedQuery, hasChildren, isDefaultBoost, setBoost, setPostFilter, setPreBooleanFilter, setQueryConfig
public <T> T accept(QueryVisitor<T> queryVisitor)
accept
in interface Query
accept
in class BaseQueryImpl
public void addField(String field)
public void addFields(Collection<String> fields)
public void addFields(String... fields)
public String getAnalyzer()
public Float getCutOffFrequency()
public Set<String> getFields()
public Map<String,Float> getFieldsBoosts()
public String getFuzziness()
public MatchQuery.RewriteMethod getFuzzyRewriteMethod()
public Integer getMaxExpansions()
public String getMinShouldMatch()
public MatchQuery.Operator getOperator()
public Integer getPrefixLength()
public Integer getSlop()
public Float getTieBreaker()
public MultiMatchQuery.Type getType()
public String getValue()
public MatchQuery.ZeroTermsQuery getZeroTermsQuery()
public boolean isFieldBoostsEmpty()
public boolean isFieldsEmpty()
public Boolean isLenient()
public void setAnalyzer(String analyzer)
public void setCutOffFrequency(Float cutOffFrequency)
public void setFuzziness(String fuzziness)
public void setFuzzyRewriteMethod(MatchQuery.RewriteMethod fuzzyRewriteMethod)
public void setLenient(Boolean lenient)
public void setMaxExpansions(Integer maxExpansions)
public void setMinShouldMatch(String minShouldMatch)
public void setOperator(MatchQuery.Operator operator)
public void setPrefixLength(Integer prefixLength)
public void setSlop(Integer slop)
public void setTieBreaker(Float tieBreaker)
public void setType(MultiMatchQuery.Type type)
public void setZeroTermsQuery(MatchQuery.ZeroTermsQuery zeroTermsQuery)
public String toString()
toString
in class Object