From b58715fd110a5e88ac4acd643550ef1e194009eb Mon Sep 17 00:00:00 2001 From: Sravan Medarapu Date: Fri, 1 Jun 2018 22:51:29 +0530 Subject: [PATCH] Update type "string" to "text" "type" : "string" dropped now using "text" --- 170_Relevance/10_Scoring_theory.asciidoc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/170_Relevance/10_Scoring_theory.asciidoc b/170_Relevance/10_Scoring_theory.asciidoc index c587172b4..d9ba7f91f 100644 --- a/170_Relevance/10_Scoring_theory.asciidoc +++ b/170_Relevance/10_Scoring_theory.asciidoc @@ -73,7 +73,7 @@ PUT /my_index "doc": { "properties": { "text": { - "type": "string", + "type": "text", "index_options": "docs" <1> } } @@ -131,7 +131,7 @@ PUT /my_index "doc": { "properties": { "text": { - "type": "string", + "type": "text", "norms": { "enabled": false } <1> } }