From 643837889d9faf576396b2a61cedc508b99ef9df Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment?= Date: Fri, 19 Jan 2024 15:49:49 +0100 Subject: [PATCH] feat: mapping add home_department & switch department from number to keyword_ --- default-indexes/cm2d_certificate.mapping.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/default-indexes/cm2d_certificate.mapping.json b/default-indexes/cm2d_certificate.mapping.json index 5acb115..432c02d 100644 --- a/default-indexes/cm2d_certificate.mapping.json +++ b/default-indexes/cm2d_certificate.mapping.json @@ -10,7 +10,8 @@ "coordinates": { "type": "keyword" }, "date": { "type": "date", "format": "iso8601" }, "death_location": { "type": "keyword" }, - "department": { "type": "long" }, + "department": { "type": "keyword" }, + "home_department": { "type": "keyword" }, "home_location": { "type": "keyword" }, "kind": { "type": "keyword" }, "sex": { "type": "keyword" }