Exemplo n.º 1
0
 public static double ObterBucketAggregationDouble(AggregateDictionary agg, string bucket)
 {
     if (agg.BucketScript(bucket).Value.HasValue)
     {
         return(agg.BucketScript(bucket).Value.Value);
     }
     return(0);
 }