Skip to content

Commit c4c498a

Browse files
committed
update example
1 parent 8da12f3 commit c4c498a

File tree

1 file changed

+2
-11
lines changed

1 file changed

+2
-11
lines changed

README.md

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -56,23 +56,14 @@ curl -XPUT http://localhost:9200/index
5656
```bash
5757
curl -XPOST http://localhost:9200/index/fulltext/_mapping -d'
5858
{
59-
"fulltext": {
60-
"_all": {
61-
"analyzer": "ik_max_word",
62-
"search_analyzer": "ik_max_word",
63-
"term_vector": "no",
64-
"store": "false"
65-
},
6659
"properties": {
6760
"content": {
6861
"type": "text",
6962
"analyzer": "ik_max_word",
70-
"search_analyzer": "ik_max_word",
71-
"include_in_all": "true",
72-
"boost": 8
63+
"search_analyzer": "ik_max_word"
7364
}
7465
}
75-
}
66+
7667
}'
7768
```
7869

0 commit comments

Comments
 (0)