提交 b8a8cb6a 编写于 作者: weixin_43283383's avatar weixin_43283383

fix README

上级 90ff4e4e
...@@ -63,8 +63,8 @@ curl -XPOST http://localhost:9200/index/fulltext/_mapping -d' ...@@ -63,8 +63,8 @@ curl -XPOST http://localhost:9200/index/fulltext/_mapping -d'
{ {
"fulltext": { "fulltext": {
"_all": { "_all": {
"indexAnalyzer": "ik_max_word", "analyzer": "ik_max_word",
"searchAnalyzer": "ik_max_word", "search_analyzer": "ik_max_word",
"term_vector": "no", "term_vector": "no",
"store": "false" "store": "false"
}, },
...@@ -73,8 +73,8 @@ curl -XPOST http://localhost:9200/index/fulltext/_mapping -d' ...@@ -73,8 +73,8 @@ curl -XPOST http://localhost:9200/index/fulltext/_mapping -d'
"type": "string", "type": "string",
"store": "no", "store": "no",
"term_vector": "with_positions_offsets", "term_vector": "with_positions_offsets",
"indexAnalyzer": "ik_max_word", "analyzer": "ik_max_word",
"searchAnalyzer": "ik_max_word", "search_analyzer": "ik_max_word",
"include_in_all": "true", "include_in_all": "true",
"boost": 8 "boost": 8
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册