[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:
Lee Hinman 2017-05-11 12:26:31 -06:00
parent 891c2a6c3f
commit 8fe2ba02f2
1 changed files with 2 additions and 2 deletions

View File

@ -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": {