mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-02-17 10:25:15 +00:00
[docs] fixed errors in aggs docs
- error in nested aggs example - error in terms aggs example
This commit is contained in:
parent
28c6dc3e19
commit
d335630e57
@ -41,7 +41,7 @@ The following aggregations will return the minimum price products can be purchas
|
||||
"path" : "resellers"
|
||||
},
|
||||
"aggs" : {
|
||||
"min_price" : { "min" : { "field" : "nested.value" } }
|
||||
"min_price" : { "min" : { "field" : "resellers.price" } }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -134,7 +134,7 @@ Ordering the buckets by multi value metrics sub-aggregation (identified by the a
|
||||
"genders" : {
|
||||
"terms" : {
|
||||
"field" : "gender",
|
||||
"order" : { "stats.avg" : "desc" }
|
||||
"order" : { "height_stats.avg" : "desc" }
|
||||
},
|
||||
"aggs" : {
|
||||
"height_stats" : { "stats" : { "field" : "height" } }
|
||||
|
Loading…
x
Reference in New Issue
Block a user