public final class TermsSetQueryBuilder extends AbstractQueryBuilder<TermsSetQueryBuilder>
Writeable.Reader<V>, Writeable.Writer<V>ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.Params| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
NAME |
boost, BOOST_FIELD, DEFAULT_BOOST, NAME_FIELD, queryNameEMPTY_PARAMSMAX_REWRITE_ROUNDS| Constructor and Description |
|---|
TermsSetQueryBuilder(StreamInput in) |
TermsSetQueryBuilder(java.lang.String fieldName,
java.util.List<?> values) |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
doEquals(TermsSetQueryBuilder other)
Indicates whether some other
QueryBuilder object of the same type is "equal to" this one. |
protected int |
doHashCode() |
protected org.apache.lucene.search.Query |
doToQuery(QueryShardContext context) |
protected void |
doWriteTo(StreamOutput out) |
protected void |
doXContent(XContentBuilder builder,
ToXContent.Params params) |
static TermsSetQueryBuilder |
fromXContent(XContentParser parser) |
java.lang.String |
getMinimumShouldMatchField() |
Script |
getMinimumShouldMatchScript() |
java.util.List<?> |
getValues() |
java.lang.String |
getWriteableName()
Returns the name of the writeable object
|
TermsSetQueryBuilder |
setMinimumShouldMatchField(java.lang.String minimumShouldMatchField) |
TermsSetQueryBuilder |
setMinimumShouldMatchScript(Script minimumShouldMatchScript) |
addValidationError, boost, boost, declareStandardFields, doRewrite, equals, extractInnerHitBuilders, getName, hashCode, parseInnerQueryBuilder, printBoostAndQueryName, queryName, queryName, requireValue, rewrite, throwParsingExceptionOnMultipleFields, toFilter, toQuery, toString, toXContent, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitisFragmentrewrite, rewrite, rewrite, rewriteAndFetch, rewriteAndFetchpublic static final java.lang.String NAME
public TermsSetQueryBuilder(java.lang.String fieldName,
java.util.List<?> values)
public TermsSetQueryBuilder(StreamInput in) throws java.io.IOException
java.io.IOExceptionprotected void doWriteTo(StreamOutput out) throws java.io.IOException
doWriteTo in class AbstractQueryBuilder<TermsSetQueryBuilder>java.io.IOExceptionpublic java.util.List<?> getValues()
public java.lang.String getMinimumShouldMatchField()
public TermsSetQueryBuilder setMinimumShouldMatchField(java.lang.String minimumShouldMatchField)
public Script getMinimumShouldMatchScript()
public TermsSetQueryBuilder setMinimumShouldMatchScript(Script minimumShouldMatchScript)
protected boolean doEquals(TermsSetQueryBuilder other)
AbstractQueryBuilderQueryBuilder object of the same type is "equal to" this one.doEquals in class AbstractQueryBuilder<TermsSetQueryBuilder>protected int doHashCode()
doHashCode in class AbstractQueryBuilder<TermsSetQueryBuilder>public java.lang.String getWriteableName()
NamedWriteableprotected void doXContent(XContentBuilder builder, ToXContent.Params params) throws java.io.IOException
doXContent in class AbstractQueryBuilder<TermsSetQueryBuilder>java.io.IOExceptionpublic static TermsSetQueryBuilder fromXContent(XContentParser parser) throws java.io.IOException
java.io.IOExceptionprotected org.apache.lucene.search.Query doToQuery(QueryShardContext context) throws java.io.IOException
doToQuery in class AbstractQueryBuilder<TermsSetQueryBuilder>java.io.IOException