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

update example

上级 8da12f34
......@@ -56,23 +56,14 @@ curl -XPUT http://localhost:9200/index
```bash
curl -XPOST http://localhost:9200/index/fulltext/_mapping -d'
{
"fulltext": {
"_all": {
"analyzer": "ik_max_word",
"search_analyzer": "ik_max_word",
"term_vector": "no",
"store": "false"
},
"properties": {
"content": {
"type": "text",
"analyzer": "ik_max_word",
"search_analyzer": "ik_max_word",
"include_in_all": "true",
"boost": 8
"search_analyzer": "ik_max_word"
}
}
}
}'
```
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册