Class QueryParsers
java.lang.Object
org.elasticsearch.index.query.support.QueryParsers
public final class QueryParsers
extends java.lang.Object
-
Field Summary
Fields Modifier and Type Field Description static org.elasticsearch.common.ParseField
CONSTANT_SCORE
static org.elasticsearch.common.ParseField
CONSTANT_SCORE_BOOLEAN
static org.elasticsearch.common.ParseField
SCORING_BOOLEAN
static org.elasticsearch.common.ParseField
TOP_TERMS
static org.elasticsearch.common.ParseField
TOP_TERMS_BLENDED_FREQS
static org.elasticsearch.common.ParseField
TOP_TERMS_BOOST
-
Method Summary
Modifier and Type Method Description static org.apache.lucene.search.MultiTermQuery.RewriteMethod
parseRewriteMethod(java.lang.String rewriteMethod, org.apache.lucene.search.MultiTermQuery.RewriteMethod defaultRewriteMethod, org.elasticsearch.common.xcontent.DeprecationHandler deprecationHandler)
static org.apache.lucene.search.MultiTermQuery.RewriteMethod
parseRewriteMethod(java.lang.String rewriteMethod, org.elasticsearch.common.xcontent.DeprecationHandler deprecationHandler)
static void
setRewriteMethod(org.apache.lucene.search.MultiTermQuery query, org.apache.lucene.search.MultiTermQuery.RewriteMethod rewriteMethod)
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
CONSTANT_SCORE
public static final org.elasticsearch.common.ParseField CONSTANT_SCORE -
SCORING_BOOLEAN
public static final org.elasticsearch.common.ParseField SCORING_BOOLEAN -
CONSTANT_SCORE_BOOLEAN
public static final org.elasticsearch.common.ParseField CONSTANT_SCORE_BOOLEAN -
TOP_TERMS
public static final org.elasticsearch.common.ParseField TOP_TERMS -
TOP_TERMS_BOOST
public static final org.elasticsearch.common.ParseField TOP_TERMS_BOOST -
TOP_TERMS_BLENDED_FREQS
public static final org.elasticsearch.common.ParseField TOP_TERMS_BLENDED_FREQS
-
-
Method Details
-
setRewriteMethod
public static void setRewriteMethod(org.apache.lucene.search.MultiTermQuery query, @Nullable org.apache.lucene.search.MultiTermQuery.RewriteMethod rewriteMethod) -
parseRewriteMethod
public static org.apache.lucene.search.MultiTermQuery.RewriteMethod parseRewriteMethod(@Nullable java.lang.String rewriteMethod, org.elasticsearch.common.xcontent.DeprecationHandler deprecationHandler) -
parseRewriteMethod
public static org.apache.lucene.search.MultiTermQuery.RewriteMethod parseRewriteMethod(@Nullable java.lang.String rewriteMethod, @Nullable org.apache.lucene.search.MultiTermQuery.RewriteMethod defaultRewriteMethod, org.elasticsearch.common.xcontent.DeprecationHandler deprecationHandler)
-