public class FuzzyQuery extends BaseQueryImpl
BOOST_DEFAULT
Constructor and Description |
---|
FuzzyQuery(String field,
String value) |
Modifier and Type | Method and Description |
---|---|
<T> T |
accept(QueryVisitor<T> queryVisitor) |
String |
getField() |
Float |
getFuzziness() |
Integer |
getMaxEdits() |
Integer |
getMaxExpansions() |
Integer |
getPrefixLength() |
String |
getValue() |
void |
setFuzziness(Float fuzziness) |
void |
setMaxEdits(Integer maxEdits) |
void |
setMaxExpansions(Integer maxExpansions) |
void |
setPrefixLength(Integer prefixLength) |
String |
toString() |
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 String getField()
public Float getFuzziness()
public Integer getMaxEdits()
public Integer getMaxExpansions()
public Integer getPrefixLength()
public String getValue()
public void setFuzziness(Float fuzziness)
public void setMaxEdits(Integer maxEdits)
public void setMaxExpansions(Integer maxExpansions)
public void setPrefixLength(Integer prefixLength)
public String toString()
toString
in class Object