mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-02-17 10:25:15 +00:00
[DOCS] Adjusted geo_distance aggregation example
unit is not returned in the response, but we have key and an implicit from starting at 0 for the first bucket
This commit is contained in:
parent
eaeddc6bd4
commit
fb7cd2ea9a
@ -31,18 +31,19 @@ Response:
|
||||
"rings" : {
|
||||
"buckets": [
|
||||
{
|
||||
"unit": "km",
|
||||
"key": "*-100.0",
|
||||
"from": 0,
|
||||
"to": 100.0,
|
||||
"doc_count": 3
|
||||
},
|
||||
{
|
||||
"unit": "km",
|
||||
"key": "100.0-300.0",
|
||||
"from": 100.0,
|
||||
"to": 300.0,
|
||||
"doc_count": 1
|
||||
},
|
||||
{
|
||||
"unit": "km",
|
||||
"key": "300.0-*",
|
||||
"from": 300.0,
|
||||
"doc_count": 7
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user