@@ -19,7 +19,7 @@ |
||
| 19 | 19 | * @const string[] valid header options |
| 20 | 20 | */ |
| 21 | 21 | private static $HEADER_OPTIONS = ['index', 'types', 'search_type', |
| 22 | - 'routing', 'preference', ]; |
|
| 22 | + 'routing', 'preference', ]; |
|
| 23 | 23 | /** |
| 24 | 24 | * @var MultiBuilderInterface |
| 25 | 25 | */ |
@@ -125,16 +125,16 @@ |
||
| 125 | 125 | return new Avg($name); |
| 126 | 126 | } |
| 127 | 127 | |
| 128 | - /** |
|
| 129 | - * avg bucket aggregation. |
|
| 130 | - * |
|
| 131 | - * @link https://www.elastic.co/guide/en/elasticsearch/reference/current/search-aggregations-pipeline-avg-bucket-aggregation.html |
|
| 132 | - * |
|
| 133 | - * @param string $name |
|
| 134 | - * @param string|null $bucketsPath |
|
| 135 | - * |
|
| 136 | - * @return AvgBucket |
|
| 137 | - */ |
|
| 128 | + /** |
|
| 129 | + * avg bucket aggregation. |
|
| 130 | + * |
|
| 131 | + * @link https://www.elastic.co/guide/en/elasticsearch/reference/current/search-aggregations-pipeline-avg-bucket-aggregation.html |
|
| 132 | + * |
|
| 133 | + * @param string $name |
|
| 134 | + * @param string|null $bucketsPath |
|
| 135 | + * |
|
| 136 | + * @return AvgBucket |
|
| 137 | + */ |
|
| 138 | 138 | public function avg_bucket($name, $bucketsPath = null) |
| 139 | 139 | { |
| 140 | 140 | return new AvgBucket($name, $bucketsPath); |