org.elasticsearch.index.query.support
Class QueryParsers

java.lang.Object
  extended by org.elasticsearch.index.query.support.QueryParsers

public final class QueryParsers
extends java.lang.Object


Method Summary
static org.apache.lucene.search.MultiTermQuery.RewriteMethod parseRewriteMethod(java.lang.String rewriteMethod)
           
static org.apache.lucene.search.Filter wrapSmartNameFilter(org.apache.lucene.search.Filter filter, MapperService.SmartNameFieldMappers smartFieldMappers, QueryParseContext parseContext)
           
static org.apache.lucene.search.Query wrapSmartNameQuery(org.apache.lucene.search.Query query, MapperService.SmartNameFieldMappers smartFieldMappers, QueryParseContext parseContext)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

parseRewriteMethod

public static org.apache.lucene.search.MultiTermQuery.RewriteMethod parseRewriteMethod(@Nullable
                                                                                       java.lang.String rewriteMethod)

wrapSmartNameQuery

public static org.apache.lucene.search.Query wrapSmartNameQuery(org.apache.lucene.search.Query query,
                                                                @Nullable
                                                                MapperService.SmartNameFieldMappers smartFieldMappers,
                                                                QueryParseContext parseContext)

wrapSmartNameFilter

public static org.apache.lucene.search.Filter wrapSmartNameFilter(org.apache.lucene.search.Filter filter,
                                                                  @Nullable
                                                                  MapperService.SmartNameFieldMappers smartFieldMappers,
                                                                  QueryParseContext parseContext)