public class SignificantTermsParametersParser extends AbstractTermsParametersParser
EXECUTION_HINT_FIELD_NAME, MIN_DOC_COUNT_FIELD_NAME, REQUIRED_SIZE_FIELD_NAME, SHARD_MIN_DOC_COUNT_FIELD_NAME, SHARD_SIZE_FIELD_NAME, SHOW_TERM_DOC_COUNT_ERROR
Constructor and Description |
---|
SignificantTermsParametersParser(SignificanceHeuristicParserMapper significanceHeuristicParserMapper) |
Modifier and Type | Method and Description |
---|---|
TermsAggregator.BucketCountThresholds |
getDefaultBucketCountThresholds() |
org.apache.lucene.search.Query |
getFilter() |
SignificanceHeuristic |
getSignificanceHeuristic() |
void |
parseSpecial(String aggregationName,
XContentParser parser,
SearchContext context,
XContentParser.Token token,
String currentFieldName) |
getBucketCountThresholds, getCollectionMode, getExecutionHint, getIncludeExclude, parse
public SignificantTermsParametersParser(SignificanceHeuristicParserMapper significanceHeuristicParserMapper)
public org.apache.lucene.search.Query getFilter()
public TermsAggregator.BucketCountThresholds getDefaultBucketCountThresholds()
getDefaultBucketCountThresholds
in class AbstractTermsParametersParser
public void parseSpecial(String aggregationName, XContentParser parser, SearchContext context, XContentParser.Token token, String currentFieldName) throws IOException
parseSpecial
in class AbstractTermsParametersParser
IOException
public SignificanceHeuristic getSignificanceHeuristic()
Copyright © 2009–2016. All rights reserved.