【发布时间】:2017-11-23 10:07:26
【问题描述】:
当type 声明为string 时,Elasticsearch 6.0 将显示此错误。
"name" => [
"type" => "string",
"analyzer" => "ik_max_word"
]
【问题讨论】:
-
没有字段类型“字符串”,我想你的意思是“文本”?
-
我正在将 es2 迁移到 es6,似乎“字符串”已被删除。谢谢,
标签: elasticsearch elasticsearch-mapping elasticsearch-6