mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-02-17 18:35:25 +00:00
Merge pull request elastic/elasticsearch#2225 from rmuir/painless_syntax
use painless syntax improvements in watcher tests and docs Original commit: elastic/x-pack-elasticsearch@fe32b945eb
This commit is contained in:
commit
1bd3af9a55
@ -40,7 +40,7 @@
|
||||
},
|
||||
"condition" : {
|
||||
"script" : {
|
||||
"inline" : "input.ctx.payload.hits.total > 1",
|
||||
"inline" : "ctx.payload.hits.total > 1",
|
||||
"lang" : "painless"
|
||||
}
|
||||
},
|
||||
|
@ -19,7 +19,7 @@
|
||||
},
|
||||
"condition" : {
|
||||
"script" : {
|
||||
"inline" : "input.ctx.payload.count == 1",
|
||||
"inline" : "ctx.payload.count == 1",
|
||||
"lang" : "painless"
|
||||
}
|
||||
},
|
||||
|
@ -51,7 +51,7 @@
|
||||
},
|
||||
"condition" : {
|
||||
"script" : {
|
||||
"inline" : "input.ctx.payload.hits.total > 1",
|
||||
"inline" : "ctx.payload.hits.total > 1",
|
||||
"lang" : "painless"
|
||||
}
|
||||
},
|
||||
|
Loading…
x
Reference in New Issue
Block a user