mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-02-17 18:35:25 +00:00
use painless syntax improvements in watcher tests and docs
Original commit: elastic/x-pack-elasticsearch@27ef31efac
This commit is contained in:
parent
61b8192dd9
commit
3a2cfabc4d
@ -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