Skip to content

Commit a9b0d1a

Browse files
committed
Fix aggreagtion examples
1 parent 2b333ca commit a9b0d1a

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

src/aggregation/agg_req.rs

+2-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,8 @@
3737
//! "ranges": [
3838
//! { "from": 3.0, "to": 7.0 },
3939
//! { "from": 7.0, "to": 20.0 }
40-
//! ]
40+
//! ],
41+
//! "keyed": false
4142
//! }
4243
//! }
4344
//! }"#;

src/aggregation/mod.rs

+2-1
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,8 @@
9393
//! { "from": 3.0, "to": 7.0 },
9494
//! { "from": 7.0, "to": 20.0 },
9595
//! { "from": 20.0 }
96-
//! ]
96+
//! ],
97+
//! "keyed": false
9798
//! },
9899
//! "aggs": {
99100
//! "average_in_range": { "avg": { "field": "score" } }

0 commit comments

Comments
 (0)