Lines Matching refs:string
16 * @param string $name the name of this aggregation
17 * @param string $field the name of the field on which to perform the aggregation
18 * @param int|string $interval the interval by which documents will be bucketed
20 public function __construct(string $name, string $field, $interval)
30 * @param int|string $interval
42 * @param string $order "_count", "_term", or the name of a sub-aggregation or sub-aggregation response field
43 * @param string $direction "asc" or "desc"
47 public function setOrder(string $order, string $direction): self