Vid*_*eni 101 elasticsearch elasticsearch-mapping elasticsearch-6
当type声明为string,Elasticsearch 6.0将显示此错误.
"name" => [
"type" => "string",
"analyzer" => "ik_max_word"
]
Run Code Online (Sandbox Code Playgroud)
Ary*_*tey 201
Elasticsearch已经删除了string类型,现在正在使用text.所以你的代码应该是这样的
"name" => [
"type" => "text",
"analyzer" => "ik_max_word"
]
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
38946 次 |
| 最近记录: |