Lines Matching defs:field
21 public function setValue(string $field, $missing = null)
24 throw new InvalidException('Weighted Average aggregation with a value mixing field and script is not possible.');
27 $value = ['field' => $field];
43 if ($this->hasParam('value') && isset($this->getParam('value')['field'])) {
44 throw new InvalidException('Weighted Average aggregation with a value mixing field and script is not possible.');
57 public function setWeight(string $field, $missing = null)
60 throw new InvalidException('Weighted Average aggregation with a weight mixing field and script is not possible.');
63 $weight = ['field' => $field];
79 if ($this->hasParam('weight') && isset($this->getParam('weight')['field'])) {
80 throw new InvalidException('Weighted Average aggregation with a weight mixing field and script is not possible.');