Lines Matching refs:field

160     public function value_count(string $name, string $field): ValueCount
162 return new ValueCount($name, $field);
171 * @param string|null $field the field on which to perform this aggregation
173 public function percentiles(string $name, ?string $field = null): Percentiles
175 return new Percentiles($name, $field);
184 * @param string|null $bucketsPath the field on which to perform this aggregation
291 public function missing(string $name, string $field): Missing
293 return new Missing($name, $field);
366 public function ipv4_range(string $name, string $field): IpRange
368 return new IpRange($name, $field);
377 * @param string $field the name of the field on which to perform the aggregation
380 public function histogram(string $name, string $field, $interval): Histogram
382 return new Histogram($name, $field, $interval);
391 * @param string $field the name of the field on which to perform the aggregation
394 public function date_histogram(string $name, string $field, $interval): DateHistogram
396 return new DateHistogram($name, $field, $interval);
405 * @param string $field the field on which to perform this aggregation
408 public function geo_distance(string $name, string $field, $origin): GeoDistance
410 return new GeoDistance($name, $field, $origin);
419 * @param string $field the field on which to perform this aggregation
421 public function geohash_grid(string $name, string $field): GeohashGrid
423 return new GeohashGrid($name, $field);
432 * @param string $field the field on which to perform this aggregation
434 public function geotile_grid(string $name, string $field): GeotileGridAggregation
436 return new GeotileGridAggregation($name, $field);