From a35455bbd086401440fd1adaea5f59d0e91adb9c Mon Sep 17 00:00:00 2001
From: Aivaras Gotovskis <aivaras.gotovskis@ongr.io>
Date: Thu, 2 Jul 2015 13:13:40 +0300
Subject: [PATCH] Add match query doc.

---
 docs/Query/Match.md | 28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)
 create mode 100644 docs/Query/Match.md

diff --git a/docs/Query/Match.md b/docs/Query/Match.md
new file mode 100644
index 0000000..00529c3
--- /dev/null
+++ b/docs/Query/Match.md
@@ -0,0 +1,28 @@
+# Match Query
+
+> More info about match query is in the [official elasticsearch docs][1]
+
+A family of match queries that accept text/numerics/dates, analyzes it, and constructs a query out of it.
+
+## Simple example
+
+```JSON
+{
+    "match" : {
+        "message" : "this is a test"
+    }
+}
+```
+
+In DSL:
+
+```php
+$matchQuery = new MatchQuery('message', 'this is a test');
+
+$search = new Search();
+$search->addQuery($matchQuery);
+
+$queryArray = $search->toArray();
+```
+
+[1]: https://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-match-query.html
\ No newline at end of file
-- 
GitLab