From 38a09b5433ab8a7b14ed6f58a0911be58fe7f031 Mon Sep 17 00:00:00 2001 From: Ray Lee Date: Tue, 5 Dec 2023 15:18:38 -0500 Subject: [PATCH] Restore collectionobjects_common:materialGroupList to es config. The public browser v2.0 now uses collectionspace_denorm:materialGroupList instead, but keeping collectionobjects_common:materialGroupList in the config keeps the ES index backward compatible with public browser v1.x. --- .../tenants/anthro/anthro-tenant-bindings.delta.xml | 10 ++++++++++ .../tenants/bonsai/bonsai-tenant-bindings.delta.xml | 10 ++++++++++ .../tenants/fcart/fcart-tenant-bindings.delta.xml | 10 ++++++++++ .../services/tenants/tenant-bindings-proto-unified.xml | 10 ++++++++++ 4 files changed, 40 insertions(+) diff --git a/services/common/src/main/cspace/config/services/tenants/anthro/anthro-tenant-bindings.delta.xml b/services/common/src/main/cspace/config/services/tenants/anthro/anthro-tenant-bindings.delta.xml index 8b65e1837..0ea5aa8ab 100644 --- a/services/common/src/main/cspace/config/services/tenants/anthro/anthro-tenant-bindings.delta.xml +++ b/services/common/src/main/cspace/config/services/tenants/anthro/anthro-tenant-bindings.delta.xml @@ -31,6 +31,7 @@ "collectionobjects_common:contentConcepts", "collectionobjects_common:fieldCollectionDateGroup", "collectionobjects_common:fieldCollectors", + "collectionobjects_common:materialGroupList", "collectionobjects_common:measuredPartGroupList", "collectionobjects_common:numberOfObjects", "collectionobjects_common:objectHistoryNote", @@ -237,6 +238,15 @@ } } }, + "collectionobjects_common:materialGroupList": { + "type": "object", + "properties": { + "material": { + "type": "keyword", + "copy_to": "all_field" + } + } + }, "collectionobjects_common:colors": { "type": "keyword", "copy_to": "all_field" diff --git a/services/common/src/main/cspace/config/services/tenants/bonsai/bonsai-tenant-bindings.delta.xml b/services/common/src/main/cspace/config/services/tenants/bonsai/bonsai-tenant-bindings.delta.xml index 81727f0d0..be470110e 100644 --- a/services/common/src/main/cspace/config/services/tenants/bonsai/bonsai-tenant-bindings.delta.xml +++ b/services/common/src/main/cspace/config/services/tenants/bonsai/bonsai-tenant-bindings.delta.xml @@ -25,6 +25,7 @@ "collectionobjects_common:colors", "collectionobjects_common:computedCurrentLocation", "collectionobjects_common:contentConcepts", + "collectionobjects_common:materialGroupList", "collectionobjects_common:measuredPartGroupList", "collectionobjects_common:numberOfObjects", "collectionobjects_common:objectHistoryNote", @@ -221,6 +222,15 @@ } } }, + "collectionobjects_common:materialGroupList": { + "type": "object", + "properties": { + "material": { + "type": "keyword", + "copy_to": "all_field" + } + } + }, "collectionobjects_common:colors": { "type": "keyword", "copy_to": "all_field" diff --git a/services/common/src/main/cspace/config/services/tenants/fcart/fcart-tenant-bindings.delta.xml b/services/common/src/main/cspace/config/services/tenants/fcart/fcart-tenant-bindings.delta.xml index 103088c03..33e44639b 100644 --- a/services/common/src/main/cspace/config/services/tenants/fcart/fcart-tenant-bindings.delta.xml +++ b/services/common/src/main/cspace/config/services/tenants/fcart/fcart-tenant-bindings.delta.xml @@ -25,6 +25,7 @@ "collectionobjects_common:colors", "collectionobjects_common:computedCurrentLocation", "collectionobjects_common:contentConcepts", + "collectionobjects_common:materialGroupList", "collectionobjects_common:measuredPartGroupList", "collectionobjects_common:numberOfObjects", "collectionobjects_common:objectHistoryNote", @@ -222,6 +223,15 @@ } } }, + "collectionobjects_common:materialGroupList": { + "type": "object", + "properties": { + "material": { + "type": "keyword", + "copy_to": "all_field" + } + } + }, "collectionobjects_common:colors": { "type": "keyword", "copy_to": "all_field" diff --git a/services/common/src/main/cspace/config/services/tenants/tenant-bindings-proto-unified.xml b/services/common/src/main/cspace/config/services/tenants/tenant-bindings-proto-unified.xml index 6e3c474b2..3a271d687 100644 --- a/services/common/src/main/cspace/config/services/tenants/tenant-bindings-proto-unified.xml +++ b/services/common/src/main/cspace/config/services/tenants/tenant-bindings-proto-unified.xml @@ -1141,6 +1141,7 @@ "collectionobjects_common:colors", "collectionobjects_common:computedCurrentLocation", "collectionobjects_common:contentConcepts", + "collectionobjects_common:materialGroupList", "collectionobjects_common:measuredPartGroupList", "collectionobjects_common:numberOfObjects", "collectionobjects_common:objectHistoryNote", @@ -1331,6 +1332,15 @@ } } }, + "collectionobjects_common:materialGroupList": { + "type": "object", + "properties": { + "material": { + "type": "keyword", + "copy_to": "all_field" + } + } + }, "collectionobjects_common:colors": { "type": "keyword", "copy_to": "all_field" -- 2.47.3