Package | Description |
---|---|
org.elasticsearch.index.query |
Modifier and Type | Method and Description |
---|---|
CommonTermsQueryBuilder |
CommonTermsQueryBuilder.analyzer(String analyzer)
Explicitly set the analyzer to use.
|
CommonTermsQueryBuilder |
CommonTermsQueryBuilder.boost(float boost)
Set the boost to apply to the query.
|
static CommonTermsQueryBuilder |
QueryBuilders.commonTermsQuery(String name,
Object text)
Creates a common query for the provided field name and text.
|
CommonTermsQueryBuilder |
CommonTermsQueryBuilder.cutoffFrequency(float cutoffFrequency)
Sets the cutoff document frequency for high / low frequent terms.
|
CommonTermsQueryBuilder |
CommonTermsQueryBuilder.disableCoord(boolean disableCoord) |
CommonTermsQueryBuilder |
CommonTermsQueryBuilder.highFreqMinimumShouldMatch(String highFreqMinimumShouldMatch)
Sets the minimum number of high frequent query terms that need to match in order to
produce a hit when there are no low frequen terms.
|
CommonTermsQueryBuilder |
CommonTermsQueryBuilder.highFreqOperator(CommonTermsQueryBuilder.Operator operator)
Sets the operator to use for terms with a high document frequency
(greater than or equal to
cutoffFrequency(float) . |
CommonTermsQueryBuilder |
CommonTermsQueryBuilder.lowFreqMinimumShouldMatch(String lowFreqMinimumShouldMatch)
Sets the minimum number of low frequent query terms that need to match in order to
produce a hit.
|
CommonTermsQueryBuilder |
CommonTermsQueryBuilder.lowFreqOperator(CommonTermsQueryBuilder.Operator operator)
Sets the operator to use for terms with a low document frequency (less
than
cutoffFrequency(float) . |
CommonTermsQueryBuilder |
CommonTermsQueryBuilder.queryName(String queryName)
Sets the query name for the filter that can be used when searching for matched_filters per hit.
|
Copyright © 2009–2016. All rights reserved.