From d5ed89b946297270ec28abf44bef2371a06f1f4f Mon Sep 17 00:00:00 2001
From: Hilko Bengen <bengen@debian.org>
Date: Sat, 7 Jun 2014 12:02:12 +0200
Subject: Imported Upstream version 1.0.3

---
 .../queries/span-multi-term-query.asciidoc         | 30 ++++++++++++++++++++++
 1 file changed, 30 insertions(+)
 create mode 100644 docs/reference/query-dsl/queries/span-multi-term-query.asciidoc

(limited to 'docs/reference/query-dsl/queries/span-multi-term-query.asciidoc')

diff --git a/docs/reference/query-dsl/queries/span-multi-term-query.asciidoc b/docs/reference/query-dsl/queries/span-multi-term-query.asciidoc
new file mode 100644
index 0000000..76985fa
--- /dev/null
+++ b/docs/reference/query-dsl/queries/span-multi-term-query.asciidoc
@@ -0,0 +1,30 @@
+[[query-dsl-span-multi-term-query]]
+=== Span Multi Term Query
+
+The `span_multi` query allows you to wrap a `multi term query` (one of
+fuzzy, prefix, term range or regexp query) as a `span query`, so
+it can be nested. Example:
+
+[source,js]
+--------------------------------------------------
+{
+    "span_multi":{
+        "match":{
+            "prefix" : { "user" :  { "value" : "ki" } }
+        }
+    }
+}
+--------------------------------------------------
+
+A boost can also be associated with the query:
+
+[source,js]
+--------------------------------------------------
+{
+    "span_multi":{
+        "match":{
+            "prefix" : { "user" :  { "value" : "ki", "boost" : 1.08 } }
+        }
+    }
+}
+--------------------------------------------------
-- 
cgit v1.2.3

