Class SignificantTextAggregatorFactory
java.lang.Object
org.elasticsearch.search.aggregations.AggregatorFactory
org.elasticsearch.search.aggregations.bucket.terms.SignificantTextAggregatorFactory
-
Field Summary
-
Constructor Summary
ConstructorsConstructorDescriptionSignificantTextAggregatorFactory(String name, IncludeExclude includeExclude, QueryBuilder backgroundFilter, TermsAggregator.BucketCountThresholds bucketCountThresholds, SignificanceHeuristic significanceHeuristic, AggregationContext context, AggregatorFactory parent, AggregatorFactories.Builder subFactoriesBuilder, String fieldName, String[] sourceFieldNames, boolean filterDuplicateText, Map<String,Object> metadata) -
Method Summary
Modifier and TypeMethodDescriptionprotected AggregatorcreateInternal(Aggregator parent, CardinalityUpperBound cardinality, Map<String,Object> metadata)protected AggregatorcreateUnmapped(Aggregator parent, Map<String,Object> metadata)Methods inherited from class org.elasticsearch.search.aggregations.AggregatorFactory
create, doValidate, getParent, getStatsSubtype, name
-
Constructor Details
-
SignificantTextAggregatorFactory
public SignificantTextAggregatorFactory(String name, IncludeExclude includeExclude, QueryBuilder backgroundFilter, TermsAggregator.BucketCountThresholds bucketCountThresholds, SignificanceHeuristic significanceHeuristic, AggregationContext context, AggregatorFactory parent, AggregatorFactories.Builder subFactoriesBuilder, String fieldName, String[] sourceFieldNames, boolean filterDuplicateText, Map<String,Object> metadata) throws IOException- Throws:
IOException
-
-
Method Details
-
createUnmapped
protected Aggregator createUnmapped(Aggregator parent, Map<String,Object> metadata) throws IOException- Throws:
IOException
-
createInternal
protected Aggregator createInternal(Aggregator parent, CardinalityUpperBound cardinality, Map<String,Object> metadata) throws IOException- Specified by:
createInternalin classAggregatorFactory- Throws:
IOException
-