Update bucket-script-aggregation.asciidoc (#22219)

Example is missing "params." for painless
This commit is contained in:
Florian Hopf 2016-12-16 12:38:51 +01:00 committed by Clinton Gormley
parent 7cfa6898bf
commit 0e18782d11
1 changed files with 1 additions and 1 deletions

View File

@ -18,7 +18,7 @@ A `bucket_script` aggregation looks like this in isolation:
"my_var1": "the_sum", <1> "my_var1": "the_sum", <1>
"my_var2": "the_value_count" "my_var2": "the_value_count"
}, },
"script": "my_var1 / my_var2" "script": "params.my_var1 / params.my_var2"
} }
} }
-------------------------------------------------- --------------------------------------------------