public class MultiMatchQueryBuilder extends MatchQueryBuilder
indexCache, mapperService, options
Constructor and Description |
---|
MultiMatchQueryBuilder(org.elasticsearch.index.mapper.MapperService mapperService,
org.elasticsearch.index.cache.IndexCache indexCache,
org.apache.lucene.util.BytesRef matchType,
java.util.Map options) |
Modifier and Type | Method and Description |
---|---|
protected org.apache.lucene.search.Query |
blendTermQuery(org.apache.lucene.index.Term term,
org.elasticsearch.index.mapper.MappedFieldType fieldType) |
protected boolean |
forceAnalyzeQueryString() |
org.apache.lucene.search.Query |
query(java.util.Map<java.lang.String,java.lang.Object> fields,
org.apache.lucene.util.BytesRef queryString) |
floatOrNull, getAnalyzer, illegalMatchType, singleQuery, singleQueryAndApply
public MultiMatchQueryBuilder(org.elasticsearch.index.mapper.MapperService mapperService, org.elasticsearch.index.cache.IndexCache indexCache, @Nullable org.apache.lucene.util.BytesRef matchType, @Nullable java.util.Map options) throws java.io.IOException
java.io.IOException
public org.apache.lucene.search.Query query(java.util.Map<java.lang.String,java.lang.Object> fields, org.apache.lucene.util.BytesRef queryString) throws java.io.IOException
query
in class MatchQueryBuilder
java.io.IOException
protected org.apache.lucene.search.Query blendTermQuery(org.apache.lucene.index.Term term, org.elasticsearch.index.mapper.MappedFieldType fieldType)
blendTermQuery
in class MatchQueryBuilder
protected boolean forceAnalyzeQueryString()
forceAnalyzeQueryString
in class MatchQueryBuilder