From 0d79f88cd37d8a76f4123b07a41e38b6b07e3d7f Mon Sep 17 00:00:00 2001 From: Matt Wise <wsmatth@amazon.com> Date: Thu, 11 Mar 2021 22:10:10 +0000 Subject: [PATCH] Merge branch 'patch-tags-to-object' into 'master' change Tags type to Object instead of Flattened to allow OSS versions of ElasticSearch to continue working Closes #15 See merge request osdu/platform/system/indexer-service!119 (cherry picked from commit a0ba1856191fdb4d4ed96a9baafde92199e963fa) 70b6ea2c change Tags type to Object instead of Flattened to allow OSS versions of... --- .../main/java/org/opengroup/osdu/indexer/util/TypeMapper.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/indexer-core/src/main/java/org/opengroup/osdu/indexer/util/TypeMapper.java b/indexer-core/src/main/java/org/opengroup/osdu/indexer/util/TypeMapper.java index 9e3150abc..416728dc3 100644 --- a/indexer-core/src/main/java/org/opengroup/osdu/indexer/util/TypeMapper.java +++ b/indexer-core/src/main/java/org/opengroup/osdu/indexer/util/TypeMapper.java @@ -43,7 +43,7 @@ public class TypeMapper { metaAttributeIndexerType.put(RecordMetaAttribute.VERSION.getValue(), ElasticType.LONG.getValue()); metaAttributeIndexerType.put(RecordMetaAttribute.X_ACL.getValue(), ElasticType.KEYWORD.getValue()); metaAttributeIndexerType.put(RecordMetaAttribute.ACL.getValue(), getAclIndexerMapping()); - metaAttributeIndexerType.put(RecordMetaAttribute.TAGS.getValue(), ElasticType.FLATTENED.getValue()); + metaAttributeIndexerType.put(RecordMetaAttribute.TAGS.getValue(), ElasticType.OBJECT.getValue()); metaAttributeIndexerType.put(RecordMetaAttribute.LEGAL.getValue(), getLegalIndexerMapping()); metaAttributeIndexerType.put(RecordMetaAttribute.ANCESTRY.getValue(), getAncestryIndexerMapping()); metaAttributeIndexerType.put(RecordMetaAttribute.INDEX_STATUS.getValue(), getIndexStatusMapping()); -- GitLab