diff --git a/Aggregation/ValueCountAggregation.php b/Aggregation/ValueCountAggregation.php new file mode 100644 index 0000000000000000000000000000000000000000..afcab235abdb49a97b8311fa23f32591fdd62e56 --- /dev/null +++ b/Aggregation/ValueCountAggregation.php @@ -0,0 +1,26 @@ +<?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\ElasticsearchBundle\DSL\Aggregation; + +/** + * Class representing Value Count Aggregation. + */ +class ValueCountAggregation extends StatsAggregation +{ + /** + * {@inheritdoc} + */ + public function getType() + { + return 'value_count'; + } +}