Ejemplo n.º 1
0
        private void Accept(IAggregationVisitor visitor, AggregationDictionary aggregations)
        {
            if (!aggregations.HasAny())
            {
                return;
            }

            foreach (var f in aggregations)
            {
                Accept(visitor, f.Value, AggregationVisitorScope.Bucket);
            }
        }
Ejemplo n.º 2
0
 /// <inheritdoc cref="IRollupSearchRequest.Aggregations" />
 public RollupSearchDescriptor <T> Aggregations(AggregationDictionary aggregations) =>
 Assign(aggregations, (a, v) => a.Aggregations = v);
Ejemplo n.º 3
0
 public TBucketAggregation Aggregations(AggregationDictionary aggregations) =>
 Assign(aggregations, (a, v) => a.Aggregations = v);