MatchNone.php 422 B

123456789101112131415161718192021
  1. <?php
  2. namespace Elastica\Query;
  3. /**
  4. * Match none query. Returns no results.
  5. *
  6. * @author David Causse
  7. *
  8. * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-match-all-query.html#query-dsl-match-none-query
  9. */
  10. class MatchNone extends AbstractQuery
  11. {
  12. /**
  13. * Creates match none query.
  14. */
  15. public function __construct()
  16. {
  17. $this->_params = new \stdClass();
  18. }
  19. }