Interface LuceneAggregatorRegistry.LuceneAggregatorProvider<A extends Aggregation,R extends AggregationResult>
- Type Parameters:
A
- the type ofAggregation
that the provider can create aggregators forR
- the type ofAggregationResult
that the aggregator created by this provider will produce
- Enclosing interface:
- LuceneAggregatorRegistry
public static interface LuceneAggregatorRegistry.LuceneAggregatorProvider<A extends Aggregation,R extends AggregationResult>
Interface for providing
LuceneAggregator
s for Aggregation
s.-
Method Summary
Modifier and TypeMethodDescriptionget
(SearchRequest searchRequest, A aggregation) Get theLuceneAggregator
for the givenAggregation
.
-
Method Details
-
get
Get theLuceneAggregator
for the givenAggregation
.- Parameters:
searchRequest
- the search request that is being executedaggregation
- the aggregation definition- Returns:
- the aggregator for the given aggregation
-