From: Ray Lee Date: Sun, 6 Jan 2019 01:48:44 +0000 (-0800) Subject: NOJIRA: Update materials profile tenant bindings for Material Order. X-Git-Url: https://git.aero2k.de/?a=commitdiff_plain;h=67240890e8be5ef06e7fa70fceb1b0892e9f33f8;p=tmp%2Fjakarta-migration.git NOJIRA: Update materials profile tenant bindings for Material Order. --- 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 ad75d5374..812d8bb3a 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 @@ -8,6 +8,568 @@ - + + + org.collectionspace.services.listener.ReindexSupport + + + + + + + + + + { + // For now, don't index a field unless there's a mapping explicitly defined. This keeps the + // index as small as possible. We may want to turn this on in the future, to support arbitrary + // searches through Elasticsearch, e.g. NXQL queries for ad hoc reporting in the CSpace UI. + "dynamic": false, + "_size" : { + "enabled" : true + }, + "_all" : { + "analyzer" : "fulltext" + }, + "_source": { + "includes": [ + "collectionspace_denorm:*", + "collectionspace_core:*", + "ecm:currentLifeCycleState", + "ecm:primaryType", + "materials_common:shortIdentifier", + "materials_common:publishToList", + "materials_common:externalUrlGroupList", + "materials_common:materialTermGroupList", + "materials_common:materialCompositionGroupList", + "materials_common:description", + "materials_common:typicalUses", + "materials_common:materialProductionOrganizationGroupList", + "materials_common:materialProductionPersonGroupList", + "materials_common:materialProductionPlaceGroupList", + "materials_common:productionNote", + "materials_common:additionalResourceGroupList", + "materials_common:featuredApplicationGroupList", + "materials_common:commonForm", + "materials_common:formTypeGroupList", + "materials_common:acousticalPropertyGroupList", + "materials_common:durabilityPropertyGroupList", + "materials_common:electricalPropertyGroupList", + "materials_common:hygrothermalPropertyGroupList", + "materials_common:mechanicalPropertyGroupList", + "materials_common:opticalPropertyGroupList", + "materials_common:sensorialPropertyGroupList", + "materials_common:smartMaterialPropertyGroupList", + "materials_common:additionalPropertyGroupList", + "materials_common:propertyNote", + "materials_common:recycledContentGroupList", + "materials_common:lifecycleComponentGroupList", + "materials_common:embodiedEnergyGroupList", + "materials_common:certificationCreditGroupList", + "materials_common:ecologyNote", + "materials_common:castingProcesses", + "materials_common:joiningProcesses", + "materials_common:moldingProcesses", + "materials_common:surfacingProcesses", + "materials_common:deformingProcesses", + "materials_common:machiningProcesses", + "materials_common:rapidPrototypingProcesses", + "materials_common:additionalProcessGroupList", + "materials_common:processNote", + "collectionobjects_common:objectNumber", + "collectionobjects_common:publishToList", + "collectionobjects_common:materialGroupList", + "collectionobjects_common:otherNumberList", + "collectionobjects_common:collection", + "collectionobjects_common:computedCurrentLocation", + "collectionobjects_materials:materialContainerGroupList", + "collectionobjects_materials:materialConditionGroupList", + "collectionobjects_materials:materialHandlingGroupList", + "collectionobjects_common:colors", + "collectionobjects_materials:materialGenericColors", + "collectionobjects_materials:materialFinishGroupList", + "collectionobjects_common:numberOfObjects", + "collectionobjects_common:briefDescriptions", + "collectionobjects_common:measuredPartGroupList", + "media_common:blobCsid", + "media_materials:publishToList" + ] + }, + "properties" : { + "ecm:currentLifeCycleState": { + "type": "string", + "include_in_all": "false" + }, + "ecm:name": { + "type": "string", + "include_in_all": "false" + }, + "ecm:primaryType": { + "type": "string", + "analyzer" : "doctype_analyzer", + "include_in_all": "false" + }, + + "collectionspace_denorm:title": { + "type": "string", + "analyzer" : "sorting_analyzer", + "include_in_all": "false" + }, + "collectionspace_denorm:commercialNames": { + "type": "string", + "analyzer" : "fulltext", + "include_in_all": "false" + }, + "collectionspace_denorm:commonNames": { + "type": "string", + "analyzer" : "fulltext", + "include_in_all": "false" + }, + "collectionspace_core:createdAt": { + "type": "date", + // Sometimes the timestamp only has a two digit fractional second, instead of three. + // From imported data?? + "format" : "date_time||yyyy-MM-dd'T'HH:mm:ss.SSZZ", + "include_in_all": "false" + }, + + "materials_common:shortIdentifier": { + "type": "string" + }, + "materials_common:materialTermGroupList": { + "type": "object", + "properties": { + "termDisplayName": { + "type": "string" + } + } + }, + "materials_common:publishToList": { + "type": "string", + "include_in_all": "false", + "fields": { + "shortid": { + "type": "string", + "analyzer": "refname_shortid_analyzer" + } + } + }, + "materials_common:materialCompositionGroupList": { + "type": "object", + "properties": { + "materialCompositionFamilyName": { + "type": "string", + "fields": { + "displayName": { + "type": "string", + "analyzer": "refname_displayname_analyzer" + } + } + }, + "materialCompositionClassName": { + "type": "string", + "fields": { + "displayName": { + "type": "string", + "analyzer": "refname_displayname_analyzer" + } + } + }, + "materialCompositionGenericName": { + "type": "string", + "fields": { + "displayName": { + "type": "string", + "analyzer": "refname_displayname_analyzer" + } + } + } + } + }, + "materials_common:description": { + "type": "string", + "analyzer" : "fulltext" + }, + "materials_common:typicalUses": { + "type": "string", + "fields": { + "displayName": { + "type": "string", + "analyzer": "refname_displayname_analyzer" + } + } + }, + "materials_common:materialProductionOrganizationGroupList": { + "type": "object", + "properties": { + "materialProductionOrganization": { + "type": "string", + "fields": { + "displayName": { + "type": "string", + "analyzer": "refname_displayname_fulltext_analyzer" + } + } + } + } + }, + "materials_common:materialProductionPersonGroupList": { + "type": "object", + "properties": { + "materialProductionPerson": { + "type": "string", + "fields": { + "displayName": { + "type": "string", + "analyzer": "refname_displayname_fulltext_analyzer" + } + } + } + } + }, + "materials_common:materialProductionPlaceGroupList": { + "type": "object", + "properties": { + "materialProductionPlace": { + "type": "string", + "fields": { + "displayName": { + "type": "string", + "analyzer": "refname_displayname_fulltext_analyzer" + } + } + } + } + }, + "materials_common:featuredApplicationGroupList": { + "type": "object", + "properties": { + "featuredApplication": { + "type": "string", + "fields": { + "displayName": { + "type": "string", + "analyzer": "refname_displayname_analyzer" + } + } + } + } + }, + "materials_common:commonForm": { + "type": "string", + "fields": { + "displayName": { + "type": "string", + "analyzer": "refname_displayname_analyzer" + } + } + }, + "materials_common:formTypeGroupList": { + "type": "object", + "properties": { + "formType": { + "type": "string", + "fields": { + "displayName": { + "type": "string", + "analyzer": "refname_displayname_analyzer" + } + } + } + } + }, + // Properties + "materials_common:acousticalPropertyGroupList": { + "type": "object", + "properties": { + "acousticalPropertyType": { + "type": "string", + "fields": { + "displayName": { + "type": "string", + "analyzer": "refname_displayname_analyzer" + } + } + } + } + }, + "materials_common:durabilityPropertyGroupList": { + "type": "object", + "properties": { + "durabilityPropertyType": { + "type": "string", + "fields": { + "displayName": { + "type": "string", + "analyzer": "refname_displayname_analyzer" + } + } + } + } + }, + "materials_common:electricalPropertyGroupList": { + "type": "object", + "properties": { + "electricalPropertyType": { + "type": "string", + "fields": { + "displayName": { + "type": "string", + "analyzer": "refname_displayname_analyzer" + } + } + } + } + }, + "materials_common:hygrothermalPropertyGroupList": { + "type": "object", + "properties": { + "hygrothermalPropertyType": { + "type": "string", + "fields": { + "displayName": { + "type": "string", + "analyzer": "refname_displayname_analyzer" + } + } + } + } + }, + "materials_common:mechanicalPropertyGroupList": { + "type": "object", + "properties": { + "mechanicalPropertyType": { + "type": "string", + "fields": { + "displayName": { + "type": "string", + "analyzer": "refname_displayname_analyzer" + } + } + } + } + }, + "materials_common:opticalPropertyGroupList": { + "type": "object", + "properties": { + "opticalPropertyType": { + "type": "string", + "fields": { + "displayName": { + "type": "string", + "analyzer": "refname_displayname_analyzer" + } + } + } + } + }, + "materials_common:sensorialPropertyGroupList": { + "type": "object", + "properties": { + "sensorialPropertyType": { + "type": "string", + "fields": { + "displayName": { + "type": "string", + "analyzer": "refname_displayname_analyzer" + } + } + } + } + }, + "materials_common:smartMaterialPropertyGroupList": { + "type": "object", + "properties": { + "smartMaterialPropertyType": { + "type": "string", + "fields": { + "displayName": { + "type": "string", + "analyzer": "refname_displayname_analyzer" + } + } + } + } + }, + "materials_common:additionalPropertyGroupList": { + "type": "object", + "properties": { + "additionalPropertyType": { + "type": "string", + "fields": { + "displayName": { + "type": "string", + "analyzer": "refname_displayname_analyzer" + } + } + } + } + }, + // Material Ecology + "materials_common:recycledContentGroupList": { + "type": "object", + "properties": { + "recycledContentQualifier": { + "type": "string", + "fields": { + "displayName": { + "type": "string", + "analyzer": "refname_displayname_analyzer" + } + } + } + } + }, + "materials_common:lifecycleComponentGroupList": { + "type": "object", + "properties": { + "lifecycleComponent": { + "type": "string", + "fields": { + "displayName": { + "type": "string", + "analyzer": "refname_displayname_analyzer" + } + } + } + } + }, + // TODO: embodiedEnergy - range? + "materials_common:certificationCreditGroupList": { + "type": "object", + "properties": { + "certificationProgram": { + "type": "string", + "fields": { + "displayName": { + "type": "string", + "analyzer": "refname_displayname_analyzer" + } + } + } + } + }, + // Process + "materials_common:castingProcesses": { + "type": "string", + "fields": { + "displayName": { + "type": "string", + "analyzer": "refname_displayname_analyzer" + } + } + }, + "materials_common:joiningProcesses": { + "type": "string", + "fields": { + "displayName": { + "type": "string", + "analyzer": "refname_displayname_analyzer" + } + } + }, + "materials_common:moldingProcesses": { + "type": "string", + "fields": { + "displayName": { + "type": "string", + "analyzer": "refname_displayname_analyzer" + } + } + }, + "materials_common:surfacingProcesses": { + "type": "string", + "fields": { + "displayName": { + "type": "string", + "analyzer": "refname_displayname_analyzer" + } + } + }, + "materials_common:deformingProcesses": { + "type": "string", + "fields": { + "displayName": { + "type": "string", + "analyzer": "refname_displayname_analyzer" + } + } + }, + "materials_common:machiningProcesses": { + "type": "string", + "fields": { + "displayName": { + "type": "string", + "analyzer": "refname_displayname_analyzer" + } + } + }, + "materials_common:rapidPrototypingProcesses": { + "type": "string", + "fields": { + "displayName": { + "type": "string", + "analyzer": "refname_displayname_analyzer" + } + } + }, + "materials_common:additionalProcessGroupList": { + "type": "object", + "properties": { + "additionalProcess": { + "type": "string", + "fields": { + "displayName": { + "type": "string", + "analyzer": "refname_displayname_analyzer" + } + } + } + } + }, + + "collectionobjects_common:objectNumber": { + "type": "string" + }, + "collectionobjects_common:publishToList": { + "type": "string", + "include_in_all": "false", + "fields": { + "shortid": { + "type": "string", + "analyzer": "refname_shortid_analyzer" + } + } + }, + "collectionobjects_common:materialGroupList": { + "type": "object", + "properties": { + "material": { + "type": "string", + "fields": { + "displayName": { + "type": "string", + "analyzer": "refname_displayname_analyzer" + } + } + } + } + }, + + "media_materials:publishToList": { + "type": "string", + "include_in_all": "false", + "fields": { + "shortid": { + "type": "string", + "analyzer": "refname_shortid_analyzer" + } + } + } + } + } + + +