1 | <?php |
||
20 | class SignificantTermsAggregation extends AbstractAggregation |
||
21 | { |
||
22 | use BucketingTrait; |
||
23 | use ScriptAwareTrait; |
||
24 | |||
25 | /** |
||
26 | * Inner aggregations container init. |
||
27 | * |
||
28 | * @param string $name |
||
29 | * @param string $field |
||
30 | * @param array $parameters |
||
31 | * @param string $script |
||
32 | */ |
||
33 | public function __construct($name, $field = null, $parameters = [], $script = null) |
||
41 | |||
42 | /** |
||
43 | * {@inheritdoc} |
||
44 | */ |
||
45 | public function getType() |
||
49 | |||
50 | /** |
||
51 | * {@inheritdoc} |
||
52 | */ |
||
53 | public function getArray() |
||
64 | } |
||
65 |