public class TermsQuery extends ChangableValueQuery
Constructor and Description |
---|
TermsQuery(String field,
List<String> values,
String method) |
Modifier and Type | Method and Description |
---|---|
TermsQuery |
clone() |
String |
getField() |
String |
getMethod() |
String |
getValue() |
List<String> |
getValues() |
void |
setValue(String value) |
isEmptyQuery
getChildQueries, removeChildQuery, replaceChildQuery
clone, deepClone
public static final String TYPE
public String getField()
public List<String> getValues()
getField()
. Documents matching one or more of these values are
included in the result setpublic String getMethod()
public void setValue(String value)
setValue
in class ChangableValueQuery
public String getValue()
getValue
in class ChangableValueQuery
public TermsQuery clone()
clone
in class ChangableValueQuery