From 3b332a2fb58e521276f0c21cceb805ef6f8c43be Mon Sep 17 00:00:00 2001 From: Alberto Casado Torres Date: Fri, 28 May 2021 09:51:04 +0200 Subject: [PATCH] hotfix for makrdown mapping --- database/elastic_mapping/mappings.ts | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/database/elastic_mapping/mappings.ts b/database/elastic_mapping/mappings.ts index 35242dd417..cab59bd534 100644 --- a/database/elastic_mapping/mappings.ts +++ b/database/elastic_mapping/mappings.ts @@ -62,6 +62,10 @@ const textType = () => ({ value: text, }); +const markdownType = () => ({ + value: noSorttext, +}); + const dateType = () => ({ value: number, }); @@ -125,7 +129,7 @@ const propertyMappings = { geolocation: geolocationType, image: imageType, link: linkType, - markdown: textType, + markdown: markdownType, media: imageType, multidate: dateType, multidaterange: daterangeType,