Skip to content

Commit b8a8cb6

Browse files
committed
fix README
1 parent 90ff4e4 commit b8a8cb6

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -63,8 +63,8 @@ curl -XPOST http://localhost:9200/index/fulltext/_mapping -d'
6363
{
6464
"fulltext": {
6565
"_all": {
66-
"indexAnalyzer": "ik_max_word",
67-
"searchAnalyzer": "ik_max_word",
66+
"analyzer": "ik_max_word",
67+
"search_analyzer": "ik_max_word",
6868
"term_vector": "no",
6969
"store": "false"
7070
},
@@ -73,8 +73,8 @@ curl -XPOST http://localhost:9200/index/fulltext/_mapping -d'
7373
"type": "string",
7474
"store": "no",
7575
"term_vector": "with_positions_offsets",
76-
"indexAnalyzer": "ik_max_word",
77-
"searchAnalyzer": "ik_max_word",
76+
"analyzer": "ik_max_word",
77+
"search_analyzer": "ik_max_word",
7878
"include_in_all": "true",
7979
"boost": 8
8080
}

0 commit comments

Comments
 (0)