From b43a6870e6579e7e7a5b94af6e0e0e1867f3ef97 Mon Sep 17 00:00:00 2001 From: Wonyeong Choi Date: Thu, 24 Sep 2020 13:05:34 +0900 Subject: [PATCH] fix: Update elasticsearch mapping (#64) Signed-off-by: one0-choi Co-authored-by: one0-choi --- amundsen_common/models/index_map.py | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/amundsen_common/models/index_map.py b/amundsen_common/models/index_map.py index e7c9ae5..680d1bd 100644 --- a/amundsen_common/models/index_map.py +++ b/amundsen_common/models/index_map.py @@ -65,7 +65,13 @@ "type": "keyword" }, "cluster": { - "type": "text" + "type": "text", + "analyzer": "simple", + "fields": { + "raw": { + "type": "keyword" + } + } }, "database": { "type": "text",