public static class TopHitsAggregator.Factory extends AggregatorFactory
| Constructor and Description |
|---|
TopHitsAggregator.Factory(String name,
FetchPhase fetchPhase,
SubSearchContext subSearchContext) |
| Modifier and Type | Method and Description |
|---|---|
Aggregator |
createInternal(AggregationContext aggregationContext,
Aggregator parent,
boolean collectsFromSingleBucket,
List<PipelineAggregator> pipelineAggregators,
Map<String,Object> metaData) |
AggregatorFactory |
subFactories(AggregatorFactories subFactories)
Registers sub-factories with this factory.
|
asMultiBucketAggregator, create, doValidate, name, parent, setMetaData, validatepublic TopHitsAggregator.Factory(String name, FetchPhase fetchPhase, SubSearchContext subSearchContext)
public Aggregator createInternal(AggregationContext aggregationContext, Aggregator parent, boolean collectsFromSingleBucket, List<PipelineAggregator> pipelineAggregators, Map<String,Object> metaData) throws IOException
createInternal in class AggregatorFactoryIOExceptionpublic AggregatorFactory subFactories(AggregatorFactories subFactories)
AggregatorFactorysubFactories in class AggregatorFactorysubFactories - The sub-factoriesCopyright © 2009–2017. All rights reserved.