Browse Source

Fix docs example after #21218.

Adrien Grand 9 years ago
parent
commit
263af27d76

+ 2 - 2
docs/reference/aggregations/pipeline/percentiles-bucket-aggregation.asciidoc

@@ -65,7 +65,7 @@ POST /sales/_search
 
 
 <1> `buckets_path` instructs this percentiles_bucket aggregation that we want to calculate percentiles for
 <1> `buckets_path` instructs this percentiles_bucket aggregation that we want to calculate percentiles for
 the `sales` aggregation in the `sales_per_month` date histogram.
 the `sales` aggregation in the `sales_per_month` date histogram.
-<2> `percents` specifies which percentiles we wish to calculate, in this case, the 25th, 50th and 75th percentil
+<2> `percents` specifies which percentiles we wish to calculate, in this case, the 25th, 50th and 75th percentiles.
 
 
 And the following may be the response:
 And the following may be the response:
 
 
@@ -107,7 +107,7 @@ And the following may be the response:
       },
       },
       "percentiles_monthly_sales": {
       "percentiles_monthly_sales": {
         "values" : {
         "values" : {
-            "25.0": 60.0,
+            "25.0": 375.0,
             "50.0": 375.0,
             "50.0": 375.0,
             "75.0": 550.0
             "75.0": 550.0
          }
          }