diff --git a/src/Aggregation/Pipeline/BucketSelectorAggregation.php b/src/Aggregation/Pipeline/BucketSelectorAggregation.php new file mode 100644 index 0000000000000000000000000000000000000000..cd8c41b328c4d5ce685031cb24d1ec27217da2c9 --- /dev/null +++ b/src/Aggregation/Pipeline/BucketSelectorAggregation.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\Pipeline; + +/** + * Class representing Bucket Selector Pipeline Aggregation. + * + * @link https://goo.gl/IQbyyM + */ +class BucketSelectorAggregation extends BucketScriptAggregation +{ + /** + * {@inheritdoc} + */ + public function getType() + { + return 'bucket_selector'; + } +}