From: Ray Lee Date: Tue, 6 Feb 2024 23:01:24 +0000 (-0500) Subject: DRYD-1381: Add content and rights fields to ES index. (#390) X-Git-Url: https://git.aero2k.de/?a=commitdiff_plain;h=ad2a5cebe92f2f7667822cb62531f61978b11e1b;p=tmp%2Fjakarta-migration.git DRYD-1381: Add content and rights fields to ES index. (#390) --- 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 667459fa8..08380961d 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 @@ -29,6 +29,10 @@ "collectionobjects_common:colors", "collectionobjects_common:computedCurrentLocation", "collectionobjects_common:contentConcepts", + "collectionobjects_common:contentDescription", + "collectionobjects_common:contentEvents", + "collectionobjects_common:contentOrganizations", + "collectionobjects_common:contentPersons", "collectionobjects_common:fieldCollectionDateGroup", "collectionobjects_common:fieldCollectors", "collectionobjects_common:materialGroupList", @@ -48,6 +52,9 @@ "collectionobjects_common:ownersContributionNote", "collectionobjects_common:publishToList", "collectionobjects_common:responsibleDepartments", + "collectionobjects_common:rightsGroupList.rightStatement", + "collectionobjects_common:rightsGroupList.standardizedRightStatement", + "collectionobjects_common:rightsInGroupList.rightReproductionStatement", "collectionobjects_common:techniqueGroupList", "collectionobjects_common:titleGroupList", "collectionobjects_common:viewersContributionNote", @@ -266,6 +273,40 @@ } } }, + "collectionobjects_common:contentDescription": { + "type": "text", + "copy_to": "all_field" + }, + "collectionobjects_common:contentEvents": { + "type": "keyword", + "copy_to": "all_field", + "fields": { + "displayName": { + "type": "keyword", + "normalizer": "refname_displayname_normalizer" + } + } + }, + "collectionobjects_common:contentOrganizations": { + "type": "keyword", + "copy_to": "all_field", + "fields": { + "displayName": { + "type": "keyword", + "normalizer": "refname_displayname_normalizer" + } + } + }, + "collectionobjects_common:contentPersons": { + "type": "keyword", + "copy_to": "all_field", + "fields": { + "displayName": { + "type": "keyword", + "normalizer": "refname_displayname_normalizer" + } + } + }, "collectionobjects_common:techniqueGroupList": { "type": "object", "properties": { 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 266f381c8..6b0e206f4 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,10 @@ "collectionobjects_common:colors", "collectionobjects_common:computedCurrentLocation", "collectionobjects_common:contentConcepts", + "collectionobjects_common:contentDescription", + "collectionobjects_common:contentEvents", + "collectionobjects_common:contentOrganizations", + "collectionobjects_common:contentPersons", "collectionobjects_common:materialGroupList", "collectionobjects_common:measuredPartGroupList", "collectionobjects_common:numberOfObjects", @@ -42,6 +46,9 @@ "collectionobjects_common:ownersContributionNote", "collectionobjects_common:publishToList", "collectionobjects_common:responsibleDepartments", + "collectionobjects_common:rightsGroupList.rightStatement", + "collectionobjects_common:rightsGroupList.standardizedRightStatement", + "collectionobjects_common:rightsInGroupList.rightReproductionStatement", "collectionobjects_common:techniqueGroupList", "collectionobjects_common:titleGroupList", "collectionobjects_common:viewersContributionNote", @@ -250,6 +257,40 @@ } } }, + "collectionobjects_common:contentDescription": { + "type": "text", + "copy_to": "all_field" + }, + "collectionobjects_common:contentEvents": { + "type": "keyword", + "copy_to": "all_field", + "fields": { + "displayName": { + "type": "keyword", + "normalizer": "refname_displayname_normalizer" + } + } + }, + "collectionobjects_common:contentOrganizations": { + "type": "keyword", + "copy_to": "all_field", + "fields": { + "displayName": { + "type": "keyword", + "normalizer": "refname_displayname_normalizer" + } + } + }, + "collectionobjects_common:contentPersons": { + "type": "keyword", + "copy_to": "all_field", + "fields": { + "displayName": { + "type": "keyword", + "normalizer": "refname_displayname_normalizer" + } + } + }, "collectionobjects_common:techniqueGroupList": { "type": "object", "properties": { 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 635c908ec..75aa8d915 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,10 @@ "collectionobjects_common:colors", "collectionobjects_common:computedCurrentLocation", "collectionobjects_common:contentConcepts", + "collectionobjects_common:contentDescription", + "collectionobjects_common:contentEvents", + "collectionobjects_common:contentOrganizations", + "collectionobjects_common:contentPersons", "collectionobjects_common:materialGroupList", "collectionobjects_common:measuredPartGroupList", "collectionobjects_common:numberOfObjects", @@ -42,6 +46,9 @@ "collectionobjects_common:ownersContributionNote", "collectionobjects_common:publishToList", "collectionobjects_common:responsibleDepartments", + "collectionobjects_common:rightsGroupList.rightStatement", + "collectionobjects_common:rightsGroupList.standardizedRightStatement", + "collectionobjects_common:rightsInGroupList.rightReproductionStatement", "collectionobjects_common:techniqueGroupList", "collectionobjects_common:titleGroupList", "collectionobjects_common:viewersContributionNote", @@ -251,6 +258,40 @@ } } }, + "collectionobjects_common:contentDescription": { + "type": "text", + "copy_to": "all_field" + }, + "collectionobjects_common:contentEvents": { + "type": "keyword", + "copy_to": "all_field", + "fields": { + "displayName": { + "type": "keyword", + "normalizer": "refname_displayname_normalizer" + } + } + }, + "collectionobjects_common:contentOrganizations": { + "type": "keyword", + "copy_to": "all_field", + "fields": { + "displayName": { + "type": "keyword", + "normalizer": "refname_displayname_normalizer" + } + } + }, + "collectionobjects_common:contentPersons": { + "type": "keyword", + "copy_to": "all_field", + "fields": { + "displayName": { + "type": "keyword", + "normalizer": "refname_displayname_normalizer" + } + } + }, "collectionobjects_common:techniqueGroupList": { "type": "object", "properties": { diff --git a/services/common/src/main/cspace/config/services/tenants/materials/materials-tenant-bindings.delta.xml b/services/common/src/main/cspace/config/services/tenants/materials/materials-tenant-bindings.delta.xml index 96830c7d2..f3ee9124e 100644 --- a/services/common/src/main/cspace/config/services/tenants/materials/materials-tenant-bindings.delta.xml +++ b/services/common/src/main/cspace/config/services/tenants/materials/materials-tenant-bindings.delta.xml @@ -71,6 +71,10 @@ "materials_common:rapidPrototypingProcesses", "materials_common:additionalProcessGroupList", "materials_common:processNote", + "collectionobjects_common:contentDescription", + "collectionobjects_common:contentEvents", + "collectionobjects_common:contentOrganizations", + "collectionobjects_common:contentPersons", "collectionobjects_common:objectHistoryNote", "collectionobjects_common:objectNumber", "collectionobjects_common:objectStatusList", @@ -93,6 +97,9 @@ "collectionobjects_common:briefDescriptions", "collectionobjects_common:measuredPartGroupList", "collectionobjects_common:viewersContributionNote", + "collectionobjects_common:rightsGroupList.rightStatement", + "collectionobjects_common:rightsGroupList.standardizedRightStatement", + "collectionobjects_common:rightsInGroupList.rightReproductionStatement", "media_common:blobCsid", "media_materials:publishToList" ] @@ -618,6 +625,40 @@ "type": "text", "copy_to": "all_field" }, + "collectionobjects_common:contentDescription": { + "type": "text", + "copy_to": "all_field" + }, + "collectionobjects_common:contentEvents": { + "type": "keyword", + "copy_to": "all_field", + "fields": { + "displayName": { + "type": "keyword", + "normalizer": "refname_displayname_normalizer" + } + } + }, + "collectionobjects_common:contentOrganizations": { + "type": "keyword", + "copy_to": "all_field", + "fields": { + "displayName": { + "type": "keyword", + "normalizer": "refname_displayname_normalizer" + } + } + }, + "collectionobjects_common:contentPersons": { + "type": "keyword", + "copy_to": "all_field", + "fields": { + "displayName": { + "type": "keyword", + "normalizer": "refname_displayname_normalizer" + } + } + }, "collectionobjects_common:materialGroupList": { "type": "object", "properties": { 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 85eb75226..9da61c0a9 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 @@ -1156,6 +1156,10 @@ "collectionobjects_common:colors", "collectionobjects_common:computedCurrentLocation", "collectionobjects_common:contentConcepts", + "collectionobjects_common:contentDescription", + "collectionobjects_common:contentEvents", + "collectionobjects_common:contentOrganizations", + "collectionobjects_common:contentPersons", "collectionobjects_common:materialGroupList", "collectionobjects_common:measuredPartGroupList", "collectionobjects_common:numberOfObjects", @@ -1173,6 +1177,9 @@ "collectionobjects_common:ownersContributionNote", "collectionobjects_common:publishToList", "collectionobjects_common:responsibleDepartments", + "collectionobjects_common:rightsGroupList.rightStatement", + "collectionobjects_common:rightsGroupList.standardizedRightStatement", + "collectionobjects_common:rightsInGroupList.rightReproductionStatement", "collectionobjects_common:techniqueGroupList", "collectionobjects_common:titleGroupList", "collectionobjects_common:viewersContributionNote", @@ -1375,6 +1382,40 @@ } } }, + "collectionobjects_common:contentDescription": { + "type": "text", + "copy_to": "all_field" + }, + "collectionobjects_common:contentEvents": { + "type": "keyword", + "copy_to": "all_field", + "fields": { + "displayName": { + "type": "keyword", + "normalizer": "refname_displayname_normalizer" + } + } + }, + "collectionobjects_common:contentOrganizations": { + "type": "keyword", + "copy_to": "all_field", + "fields": { + "displayName": { + "type": "keyword", + "normalizer": "refname_displayname_normalizer" + } + } + }, + "collectionobjects_common:contentPersons": { + "type": "keyword", + "copy_to": "all_field", + "fields": { + "displayName": { + "type": "keyword", + "normalizer": "refname_displayname_normalizer" + } + } + }, "collectionobjects_common:techniqueGroupList": { "type": "object", "properties": {