diff --git a/README.md b/README.md index a7f8eeb04a64fcc2c829b1835208606e922ff062..48b7eb090ca070768d044fe6863654bdef941fd7 100644 --- a/README.md +++ b/README.md @@ -63,8 +63,8 @@ curl -XPOST http://localhost:9200/index/fulltext/_mapping -d' { "fulltext": { "_all": { - "indexAnalyzer": "ik_max_word", - "searchAnalyzer": "ik_max_word", + "analyzer": "ik_max_word", + "search_analyzer": "ik_max_word", "term_vector": "no", "store": "false" }, @@ -73,8 +73,8 @@ curl -XPOST http://localhost:9200/index/fulltext/_mapping -d' "type": "string", "store": "no", "term_vector": "with_positions_offsets", - "indexAnalyzer": "ik_max_word", - "searchAnalyzer": "ik_max_word", + "analyzer": "ik_max_word", + "search_analyzer": "ik_max_word", "include_in_all": "true", "boost": 8 }