for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace olvlvl\ElasticsearchDSL\Query\Text;
use olvlvl\ElasticsearchDSL\Query\Option\BoostOption;
use olvlvl\ElasticsearchDSL\Query\Option\HasBoostOption;
use olvlvl\ElasticsearchDSL\Query\QueryAbstract;
class MatchAllQuery extends QueryAbstract implements HasBoostOption
{
use BoostOption;
const NAME = 'match_all';
/**
* @inheritdoc
*/
public function jsonSerialize()
return [ self::NAME => parent::jsonSerialize() ?: (object) [] ];
}