From b8a8cb6ae25045e3afa8ac6772245cde9f21166f Mon Sep 17 00:00:00 2001 From: medcl Date: Sat, 31 Oct 2015 22:14:02 +0800 Subject: [PATCH] fix README --- README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index a7f8eeb..48b7eb0 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 }