From 5e385d5bf2a99036906eb4f2fe987e83b5bfbc98 Mon Sep 17 00:00:00 2001 From: Shane Connelly Date: Tue, 1 Sep 2015 13:17:07 -0700 Subject: [PATCH] Fixed non-valid JSON (though ES would accept it) --- .../aggregations/pipeline/bucket-script-aggregation.asciidoc | 2 +- .../aggregations/pipeline/bucket-selector-aggregation.asciidoc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/reference/aggregations/pipeline/bucket-script-aggregation.asciidoc b/docs/reference/aggregations/pipeline/bucket-script-aggregation.asciidoc index 72addadaefa..81372c14b1d 100644 --- a/docs/reference/aggregations/pipeline/bucket-script-aggregation.asciidoc +++ b/docs/reference/aggregations/pipeline/bucket-script-aggregation.asciidoc @@ -20,7 +20,7 @@ A `bucket_script` aggregation looks like this in isolation: "my_var1": "the_sum", <1> "my_var2": "the_value_count" }, - script: "my_var1 / my_var2" + "script": "my_var1 / my_var2" } } -------------------------------------------------- diff --git a/docs/reference/aggregations/pipeline/bucket-selector-aggregation.asciidoc b/docs/reference/aggregations/pipeline/bucket-selector-aggregation.asciidoc index 2b838ba45fb..cef1e6716d3 100644 --- a/docs/reference/aggregations/pipeline/bucket-selector-aggregation.asciidoc +++ b/docs/reference/aggregations/pipeline/bucket-selector-aggregation.asciidoc @@ -25,7 +25,7 @@ A `bucket_selector` aggregation looks like this in isolation: "my_var1": "the_sum", <1> "my_var2": "the_value_count" }, - script: "my_var1 > my_var2" + "script": "my_var1 > my_var2" } } --------------------------------------------------