From 9e5aec2c5923b7bc27637a588bfd9c0db5e7f3d0 Mon Sep 17 00:00:00 2001 From: Maaike Date: Mon, 9 Dec 2024 10:45:24 +0100 Subject: [PATCH] add keyword to phenomenonTime --- wis2box-management/wis2box/api/backend/elastic.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/wis2box-management/wis2box/api/backend/elastic.py b/wis2box-management/wis2box/api/backend/elastic.py index b02e77e4..e2cc55cb 100644 --- a/wis2box-management/wis2box/api/backend/elastic.py +++ b/wis2box-management/wis2box/api/backend/elastic.py @@ -78,7 +78,10 @@ } }, 'phenomenonTime': { - 'type': 'text' + 'type': 'text', + 'fields': { + 'raw': { 'type': 'keyword'} + } }, 'wigos_station_identifier': { 'type': 'text',