WARNING: Version 2.4 of Elasticsearch has passed its EOL date.
This documentation is no longer being maintained and may be removed. If you are running this version, we strongly advise you to upgrade. For the latest information, see the current release documentation.
Span Multi Term Queryedit
The span_multi
query allows you to wrap a multi term query
(one of wildcard,
fuzzy, prefix, term, range or regexp query) as a span query
, so
it can be nested. Example:
{ "span_multi":{ "match":{ "prefix" : { "user" : { "value" : "ki" } } } } }
A boost can also be associated with the query:
{ "span_multi":{ "match":{ "prefix" : { "user" : { "value" : "ki", "boost" : 1.08 } } } } }