@@ -232,6 +232,16 @@ public override Aggregation Read(ref Utf8JsonReader reader, Type typeToConvert,
232
232
return AggregationSerializationHelper . ReadContainer < Elastic . Clients . Elasticsearch . Aggregations . ParentAggregation ? > ( "parent" , ref reader , options ) ;
233
233
}
234
234
235
+ if ( propertyName == "percentile_ranks" )
236
+ {
237
+ return AggregationSerializationHelper . ReadContainer < Elastic . Clients . Elasticsearch . Aggregations . PercentileRanksAggregation ? > ( "percentile_ranks" , ref reader , options ) ;
238
+ }
239
+
240
+ if ( propertyName == "percentiles" )
241
+ {
242
+ return AggregationSerializationHelper . ReadContainer < Elastic . Clients . Elasticsearch . Aggregations . PercentilesAggregation ? > ( "percentiles" , ref reader , options ) ;
243
+ }
244
+
235
245
if ( propertyName == "percentiles_bucket" )
236
246
{
237
247
return AggregationSerializationHelper . ReadContainer < Elastic . Clients . Elasticsearch . Aggregations . PercentilesBucketAggregation ? > ( "percentiles_bucket" , ref reader , options ) ;
@@ -545,6 +555,16 @@ public AggregationDescriptor<TDocument> Parent(string name, Action<ParentAggrega
545
555
return SetContainer ( name , Aggregation . CreateWithAction ( "parent" , configure ) ) ;
546
556
}
547
557
558
+ public AggregationDescriptor < TDocument > PercentileRanks ( string name , Action < PercentileRanksAggregationDescriptor < TDocument > > configure )
559
+ {
560
+ return SetContainer ( name , Aggregation . CreateWithAction ( "percentile_ranks" , configure ) ) ;
561
+ }
562
+
563
+ public AggregationDescriptor < TDocument > Percentiles ( string name , Action < PercentilesAggregationDescriptor < TDocument > > configure )
564
+ {
565
+ return SetContainer ( name , Aggregation . CreateWithAction ( "percentiles" , configure ) ) ;
566
+ }
567
+
548
568
public AggregationDescriptor < TDocument > PercentilesBucket ( string name , Action < PercentilesBucketAggregationDescriptor > configure )
549
569
{
550
570
return SetContainer ( name , Aggregation . CreateWithAction ( "percentiles_bucket" , configure ) ) ;
@@ -999,6 +1019,26 @@ public AggregationDescriptor Parent<TDocument>(string name, Action<ParentAggrega
999
1019
return SetContainer ( name , Aggregation . CreateWithAction ( "parent" , configure ) ) ;
1000
1020
}
1001
1021
1022
+ public AggregationDescriptor PercentileRanks ( string name , Action < PercentileRanksAggregationDescriptor > configure )
1023
+ {
1024
+ return SetContainer ( name , Aggregation . CreateWithAction ( "percentile_ranks" , configure ) ) ;
1025
+ }
1026
+
1027
+ public AggregationDescriptor PercentileRanks < TDocument > ( string name , Action < PercentileRanksAggregationDescriptor < TDocument > > configure )
1028
+ {
1029
+ return SetContainer ( name , Aggregation . CreateWithAction ( "percentile_ranks" , configure ) ) ;
1030
+ }
1031
+
1032
+ public AggregationDescriptor Percentiles ( string name , Action < PercentilesAggregationDescriptor > configure )
1033
+ {
1034
+ return SetContainer ( name , Aggregation . CreateWithAction ( "percentiles" , configure ) ) ;
1035
+ }
1036
+
1037
+ public AggregationDescriptor Percentiles < TDocument > ( string name , Action < PercentilesAggregationDescriptor < TDocument > > configure )
1038
+ {
1039
+ return SetContainer ( name , Aggregation . CreateWithAction ( "percentiles" , configure ) ) ;
1040
+ }
1041
+
1002
1042
public AggregationDescriptor PercentilesBucket ( string name , Action < PercentilesBucketAggregationDescriptor > configure )
1003
1043
{
1004
1044
return SetContainer ( name , Aggregation . CreateWithAction ( "percentiles_bucket" , configure ) ) ;
0 commit comments