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 ParseField
CONSTANT_SCORE
static ParseField
CONSTANT_SCORE_BOOLEAN
static ParseField
SCORING_BOOLEAN
static ParseField
TOP_TERMS
static ParseField
TOP_TERMS_BLENDED_FREQS
static 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, DeprecationHandler deprecationHandler)
static org.apache.lucene.search.MultiTermQuery.RewriteMethod
parseRewriteMethod(java.lang.String rewriteMethod, DeprecationHandler deprecationHandler)
static void
setRewriteMethod(org.apache.lucene.search.MultiTermQuery query, org.apache.lucene.search.MultiTermQuery.RewriteMethod rewriteMethod)
-
Field Details
-
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, 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, DeprecationHandler deprecationHandler)
-