Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
348 views
in Technique[技术] by (71.8m points)

elasticsearch complement multi input

对于 type 为?completion 的类型, 允许 input 输入数组, 那么查询的时候, text 是依据什么规则从 input 数组中选出的呢?

{
    "text": "zhang san",
    "_index": "mymapping",
    "_type": "_doc",
    "_id": "123",
    "_score": 50.0,
    "_source": {
        "name": {
            "input": [
                "张叁",
                "张三",
                "zhang san"
            ],
            "weight": 50
        }
    }
}

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)
等待大神解答

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...