[TEST] Use non-deprecated _key instead of _term for aggregation ordering
Otherwise the console doc tests fail due to the unexpected warning header Original commit: elastic/x-pack-elasticsearch@598a191784
This commit is contained in:
parent
891c2a6c3f
commit
8fe2ba02f2
|
@ -114,7 +114,7 @@ To set up the watch:
|
|||
"field": "@timestamp", <5>
|
||||
"size": 1,
|
||||
"order": {
|
||||
"_term": "desc"
|
||||
"_key": "desc"
|
||||
}
|
||||
},
|
||||
"aggs": {
|
||||
|
@ -226,7 +226,7 @@ PUT _xpack/watcher/watch/meetup
|
|||
"field": "@timestamp",
|
||||
"size": 1,
|
||||
"order": {
|
||||
"_term": "desc"
|
||||
"_key": "desc"
|
||||
}
|
||||
},
|
||||
"aggs": {
|
||||
|
|
Loading…
Reference in New Issue