From faad97850811dc1d0ec293da0f2d5de6c5e9a2f3 Mon Sep 17 00:00:00 2001 From: Tony McCrae Date: Mon, 16 Sep 2024 12:41:14 +0100 Subject: [PATCH] Update mappings to include new orientation field. --- .../scala/com/gu/mediaservice/lib/elasticsearch/Mappings.scala | 1 + 1 file changed, 1 insertion(+) diff --git a/common-lib/src/main/scala/com/gu/mediaservice/lib/elasticsearch/Mappings.scala b/common-lib/src/main/scala/com/gu/mediaservice/lib/elasticsearch/Mappings.scala index 5260782e41..72a60c4531 100644 --- a/common-lib/src/main/scala/com/gu/mediaservice/lib/elasticsearch/Mappings.scala +++ b/common-lib/src/main/scala/com/gu/mediaservice/lib/elasticsearch/Mappings.scala @@ -92,6 +92,7 @@ object Mappings { dimensionsMapping("dimensions"), dynamicObj("orientationMetadata"), dimensionsMapping("orientedDimensions"), + keywordField("orientation"), )) def metadataMapping(name: String): ObjectField = nonDynamicObjectField(name).copy(properties = Seq(