Merge pull request #13025 from mpereira/patch-1

[Docs] typos in derivative aggregation documentation
This commit is contained in:
Colin Goodheart-Smithe 2015-08-24 14:17:39 +02:00
commit 2336da1704
1 changed files with 6 additions and 6 deletions

View File

@ -54,7 +54,7 @@ The following snippet calculates the derivative of the total monthly `sales`:
}, },
"sales_deriv": { "sales_deriv": {
"derivative": { "derivative": {
"buckets_paths": "sales" <1> "buckets_path": "sales" <1>
} }
} }
} }
@ -63,7 +63,7 @@ The following snippet calculates the derivative of the total monthly `sales`:
} }
-------------------------------------------------- --------------------------------------------------
<1> `bucket_paths` instructs this derivative aggregation to use the output of the `sales` aggregation for the derivative <1> `buckets_path` instructs this derivative aggregation to use the output of the `sales` aggregation for the derivative
And the following may be the response: And the following may be the response:
@ -137,12 +137,12 @@ monthly sales:
}, },
"sales_deriv": { "sales_deriv": {
"derivative": { "derivative": {
"buckets_paths": "sales" "buckets_path": "sales"
} }
}, },
"sales_2nd_deriv": { "sales_2nd_deriv": {
"derivative": { "derivative": {
"buckets_paths": "sales_deriv" <1> "buckets_path": "sales_deriv" <1>
} }
} }
} }
@ -151,7 +151,7 @@ monthly sales:
} }
-------------------------------------------------- --------------------------------------------------
<1> `bucket_paths` for the second derivative points to the name of the first derivative <1> `buckets_path` for the second derivative points to the name of the first derivative
And the following may be the response: And the following may be the response:
@ -225,7 +225,7 @@ of the total sales per month but ask for the derivative of the sales as in the u
}, },
"sales_deriv": { "sales_deriv": {
"derivative": { "derivative": {
"buckets_paths": "sales", "buckets_path": "sales",
"unit": "day" <1> "unit": "day" <1>
} }
} }