本文基于 Elasticsearch 6.6.0 analyzer 指定分词器(分析器更合理),对索引和查询都有效。如下,指定ik分词的配置: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 PUT my_index { "mappings" : { "my_type" : { "properties" : { "content" : { "type" : "text" , "a…
本文基于 Elasticsearch 6.6.0 analyzer 指定分词器(分析器更合理),对索引和查询都有效。如下,指定ik分词的配置: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 PUT my_index { "mappings" : { "my_type" : { "properties" : { "content" : { "type" : "text" , "a…
讨论
登录后参与讨论
还没有评论,来说第一句吧。