Do not suggest deprecated ordering key (#65040)

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
This commit is contained in:
Jean-Louis Leysens 2020-05-04 23:21:56 +02:00 committed by GitHub
parent 7bf7174a2d
commit f801f8bae0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -148,7 +148,7 @@ const rules = {
shard_size: 10,
order: {
__template: {
_term: 'asc',
_key: 'asc',
},
_term: { __one_of: ['asc', 'desc'] },
_count: { __one_of: ['asc', 'desc'] },