IMPORTANT: No additional bug fixes or documentation updates
will be released for this version. For the latest information, see the
current release documentation.
Span Multi Term Query
editSpan Multi Term Query
editThe span_multi
query allows you to wrap a multi term query
(one of wildcard,
fuzzy, prefix, range or regexp query) as a span query
, so
it can be nested. Example:
GET /_search { "query": { "span_multi":{ "match":{ "prefix" : { "user" : { "value" : "ki" } } } } } }
A boost can also be associated with the query:
GET /_search { "query": { "span_multi":{ "match":{ "prefix" : { "user" : { "value" : "ki", "boost" : 1.08 } } } } } }