public class FilterAggregatorFactory extends AggregatorFactory
getWeightpublic org.apache.lucene.search.Weight getWeight()Returns the
Weightfor this filter aggregation, creating it if necessary. This is done lazily so that the
Weightis only created if the aggregation collects documents reducing the overhead of the aggregation in the case where no documents are collected. Note that as aggregations are initialsed and executed in a serial manner, no concurrency considerations are necessary here.
createInternalpublic Aggregator createInternal(Aggregator parent, CardinalityUpperBound cardinality, Map<String,Object> metadata) throws IOException