]> git.aero2k.de Git - tmp/jakarta-migration.git/commitdiff
Restore collectionobjects_common:materialGroupList to es config.
authorRay Lee <ray.lee@lyrasis.org>
Tue, 5 Dec 2023 20:18:38 +0000 (15:18 -0500)
committerRay Lee <ray.lee@lyrasis.org>
Wed, 6 Dec 2023 02:57:49 +0000 (21:57 -0500)
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.

services/common/src/main/cspace/config/services/tenants/anthro/anthro-tenant-bindings.delta.xml
services/common/src/main/cspace/config/services/tenants/bonsai/bonsai-tenant-bindings.delta.xml
services/common/src/main/cspace/config/services/tenants/fcart/fcart-tenant-bindings.delta.xml
services/common/src/main/cspace/config/services/tenants/tenant-bindings-proto-unified.xml

index 8b65e183743f743f29435810af527920a4798d00..0ea5aa8abefa0f50b728984df2eb3edb4116535c 100644 (file)
@@ -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",
                                                                }
                                                        }
                                                },
+                                               "collectionobjects_common:materialGroupList": {
+                                                       "type": "object",
+                                                       "properties": {
+                                                               "material": {
+                                                                       "type": "keyword",
+                                                                       "copy_to": "all_field"
+                                                               }
+                                                       }
+                                               },
                                                "collectionobjects_common:colors": {
                                                        "type": "keyword",
                                                        "copy_to": "all_field"
index 81727f0d0246f38364392bd947a090530b08fdb4..be470110e233bcd0730b43354eee8a5d307ce8d0 100644 (file)
@@ -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",
                                                                }
                                                        }
                                                },
+                                               "collectionobjects_common:materialGroupList": {
+                                                       "type": "object",
+                                                       "properties": {
+                                                               "material": {
+                                                                       "type": "keyword",
+                                                                       "copy_to": "all_field"
+                                                               }
+                                                       }
+                                               },
                                                "collectionobjects_common:colors": {
                                                        "type": "keyword",
                                                        "copy_to": "all_field"
index 103088c036be4f032698b9b52c267bb81ee3f829..33e44639b018c0d3ac8ccf4a31222cac3e31542e 100644 (file)
@@ -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",
                                                                }
                                                        }
                                                },
+                                               "collectionobjects_common:materialGroupList": {
+                                                       "type": "object",
+                                                       "properties": {
+                                                               "material": {
+                                                                       "type": "keyword",
+                                                                       "copy_to": "all_field"
+                                                               }
+                                                       }
+                                               },
                                                "collectionobjects_common:colors": {
                                                        "type": "keyword",
                                                        "copy_to": "all_field"
index 6e3c474b23e4f203be85181f4414f352939096db..3a271d6876e8329b761a0342afb6bb1c0924cdaa 100644 (file)
                                                        "collectionobjects_common:colors",
                                                        "collectionobjects_common:computedCurrentLocation",
                                                        "collectionobjects_common:contentConcepts",
+                                                       "collectionobjects_common:materialGroupList",
                                                        "collectionobjects_common:measuredPartGroupList",
                                                        "collectionobjects_common:numberOfObjects",
                                                        "collectionobjects_common:objectHistoryNote",
                                                                }
                                                        }
                                                },
+                                               "collectionobjects_common:materialGroupList": {
+                                                       "type": "object",
+                                                       "properties": {
+                                                               "material": {
+                                                                       "type": "keyword",
+                                                                       "copy_to": "all_field"
+                                                               }
+                                                       }
+                                               },
                                                "collectionobjects_common:colors": {
                                                        "type": "keyword",
                                                        "copy_to": "all_field"