From c4c498a3aa5b75612b3a06d2091e70ba067349d8 Mon Sep 17 00:00:00 2001 From: medcl Date: Thu, 3 Aug 2017 17:10:30 +0800 Subject: [PATCH] update example --- README.md | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) diff --git a/README.md b/README.md index b1b1732..689d93e 100644 --- a/README.md +++ b/README.md @@ -56,23 +56,14 @@ curl -XPUT http://localhost:9200/index ```bash curl -XPOST http://localhost:9200/index/fulltext/_mapping -d' { - "fulltext": { - "_all": { - "analyzer": "ik_max_word", - "search_analyzer": "ik_max_word", - "term_vector": "no", - "store": "false" - }, "properties": { "content": { "type": "text", "analyzer": "ik_max_word", - "search_analyzer": "ik_max_word", - "include_in_all": "true", - "boost": 8 + "search_analyzer": "ik_max_word" } } - } + }' ```