From 0bf407de11443d1014846289d072cde413c1fa62 Mon Sep 17 00:00:00 2001 From: one0-choi Date: Tue, 22 Sep 2020 19:00:46 +0900 Subject: [PATCH] Update elasticsearch table index mapping Signed-off-by: one0-choi --- databuilder/publisher/elasticsearch_constants.py | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/databuilder/publisher/elasticsearch_constants.py b/databuilder/publisher/elasticsearch_constants.py index 18aac6976..a4c529b2f 100644 --- a/databuilder/publisher/elasticsearch_constants.py +++ b/databuilder/publisher/elasticsearch_constants.py @@ -62,7 +62,13 @@ "type": "keyword" }, "cluster": { - "type": "text" + "type": "text", + "analyzer": "simple", + "fields": { + "raw": { + "type": "keyword" + } + } }, "database": { "type": "text",