summaryrefslogtreecommitdiff
path: root/vendor/ruflin/elastica/lib/Elastica/Query/MatchAll.php
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/ruflin/elastica/lib/Elastica/Query/MatchAll.php')
-rw-r--r--vendor/ruflin/elastica/lib/Elastica/Query/MatchAll.php20
1 files changed, 20 insertions, 0 deletions
diff --git a/vendor/ruflin/elastica/lib/Elastica/Query/MatchAll.php b/vendor/ruflin/elastica/lib/Elastica/Query/MatchAll.php
new file mode 100644
index 00000000..d01aaee8
--- /dev/null
+++ b/vendor/ruflin/elastica/lib/Elastica/Query/MatchAll.php
@@ -0,0 +1,20 @@
+<?php
+namespace Elastica\Query;
+
+/**
+ * Match all query. Returns all results.
+ *
+ * @author Nicolas Ruflin <spam@ruflin.com>
+ *
+ * @link http://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-match-all-query.html
+ */
+class MatchAll extends AbstractQuery
+{
+ /**
+ * Creates match all query.
+ */
+ public function __construct()
+ {
+ $this->_params = new \stdClass();
+ }
+}