From 8bf37c2caf1d6a36d83cbaa7583c37c8223399ea Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EC=A1=B0=EC=8A=B9=ED=98=84?= <49122299+wjrmffldrhrl@users.noreply.github.com> Date: Sun, 3 Jan 2021 15:55:28 +0900 Subject: [PATCH] String -> text MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit elasticsearch에서 더이상 String type을 사용하지 않고 text을 사용한다고 합니다. https://stackoverflow.com/questions/47452770/no-handler-for-type-string-declared-on-field-name --- ch01/classesRating_mapping.json | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/ch01/classesRating_mapping.json b/ch01/classesRating_mapping.json index 8e2a6ca..e8b29c9 100644 --- a/ch01/classesRating_mapping.json +++ b/ch01/classesRating_mapping.json @@ -2,16 +2,16 @@ "class" : { "properties" : { "title" : { - "type" : "string" + "type" : "text" }, "professor" : { - "type" : "string" + "type" : "text" }, "major" : { - "type" : "string" + "type" : "text" }, "semester" : { - "type" : "string" + "type" : "text" }, "student_count" : { "type" : "integer" @@ -31,4 +31,4 @@ } } } -} \ No newline at end of file +}