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, validate
public 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 AggregatorFactory
IOException
public AggregatorFactory subFactories(AggregatorFactories subFactories)
AggregatorFactory
subFactories
in class AggregatorFactory
subFactories
- The sub-factoriesCopyright © 2009–2016. All rights reserved.