We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1b09073 commit 50c21b4Copy full SHA for 50c21b4
elasticsearch_dsl/aggs.py
@@ -306,6 +306,10 @@ class ExtendedStats(Agg):
306
name = "extended_stats"
307
308
309
+class Boxplot(Agg):
310
+ name = "boxplot"
311
+
312
313
class GeoBounds(Agg):
314
name = "geo_bounds"
315
test_elasticsearch_dsl/test_aggs.py
@@ -266,3 +266,9 @@ def test_geotile_grid_aggregation():
266
a = aggs.GeotileGrid(**{"field": "centroid", "precision": 3})
267
268
assert {"geotile_grid": {"field": "centroid", "precision": 3}} == a.to_dict()
269
270
271
+def test_boxplot_aggregation():
272
+ a = aggs.Boxplot(field="load_time")
273
274
+ assert {"boxplot": {"field": "load_time"}} == a.to_dict()
0 commit comments