Skip to content

Commit a1d6ba8

Browse files
hlwanghlmedcl
authored andcommitted
Correct Search Analyzer (#668)
The former search analyzer `ik-max-word` will give the wrong result against described later in the README file.
1 parent 90c9b58 commit a1d6ba8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ curl -XPOST http://localhost:9200/index/_mapping -H 'Content-Type:application/js
6363
"content": {
6464
"type": "text",
6565
"analyzer": "ik_max_word",
66-
"search_analyzer": "ik_max_word"
66+
"search_analyzer": "ik_smart"
6767
}
6868
}
6969

0 commit comments

Comments
 (0)