MatchAll.php 413 B

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