1. Span Or 查询

原文链接 : https://www.elastic.co/guide/en/elasticsearch/reference/5.4/query-dsl-span-or-query.html

译文链接 : http://www.apache.wiki/pages/viewpage.action?pageId=10029281

贡献者 : 片刻 ApacheCN Apache中文网

匹配其跨度子句的联合。跨度或查询映射到Lucene SpanOrQuery。这是一个例子:

GET /_search
{
    "query": {
        "span_or" : {
            "clauses" : [
                { "span_term" : { "field" : "value1" } },
                { "span_term" : { "field" : "value2" } },
                { "span_term" : { "field" : "value3" } }
            ]
        }
    }
}

clauses元素是一个或多个其他span类型查询的列表。

Copyright © Kilvn 2021. all right reserved,powered by Gitbook最后更新时间: 2021-06-08 20:22:42

results matching ""

    No results matching ""