搜索结果正在快递途中

completion multi input

Elasticsearch | 作者 CbdFocus | 发布于2020年05月07日 | 阅读数:1538

对于 type 为 completion 的类型, 允许 `input` 输入数组, 那么查询的时候, `text` 是依据什么规则从 input 数组中选出的呢?
 
{
"text": "zhang san",
"_index": "mymapping",
"_type": "_doc",
"_id": "123",
"_score": 50.0,
"_source": {
"name": {
"input": [
"张叁",
"张三",
"zhang san"
],
"weight": 50
}
}
}
已邀请:

superman

赞同来自:

分词后,前缀模糊匹配

要回复问题请先登录注册