diff --git a/src/Aggregation/SignificantTermsAggregation.php b/src/Aggregation/SignificantTermsAggregation.php new file mode 100644 index 0000000000000000000000000000000000000000..be70ed683daaf69d942a49daf64c9c3c020e996a --- /dev/null +++ b/src/Aggregation/SignificantTermsAggregation.php @@ -0,0 +1,28 @@ +<?php + +/* + * This file is part of the ONGR package. + * + * (c) NFQ Technologies UAB <info@nfq.com> + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + +namespace ONGR\ElasticsearchDSL\Aggregation; + +/** + * Class representing TermsAggregation. + * + * @link https://www.elastic.co/guide/en/elasticsearch/reference/current/search-aggregations-bucket-significantterms-aggregation.html + */ +class SignificantTermsAggregation extends TermsAggregation +{ + /** + * {@inheritdoc} + */ + public function getType() + { + return 'significant_terms'; + } +}