Merge pull request #13257 from elastic/docsfix
Fixed non-valid JSON (though ES would accept it)
This commit is contained in:
commit
118eab5462
|
@ -20,7 +20,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": "my_var1 / my_var2"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
--------------------------------------------------
|
--------------------------------------------------
|
||||||
|
|
|
@ -25,7 +25,7 @@ A `bucket_selector` 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": "my_var1 > my_var2"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
--------------------------------------------------
|
--------------------------------------------------
|
||||||
|
|
Loading…
Reference in New Issue