We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0a81a23 commit af0bfa4Copy full SHA for af0bfa4
src/Aggregation/Aggregation.php
@@ -131,8 +131,8 @@ public static function stats(string $name): StatsAggregation
131
return new StatsAggregation($name);
132
}
133
134
- public static function valueCount(string $name, string $field, array $aggregations = []): ValueCountAggregation
+ public static function valueCount(string $name): ValueCountAggregation
135
{
136
- return new ValueCountAggregation($name, $field, $aggregations);
+ return new ValueCountAggregation($name);
137
138
0 commit comments