1 <?xml version="1.0" encoding="UTF-8"?>
2 <tenant:TenantBindingConfig
3 xmlns:merge='http://xmlmerge.el4j.elca.ch'
4 xmlns:tenant='http://collectionspace.org/services/config/tenant'>
6 <!-- Add your changes, if any, within the following tag pair. -->
7 <!-- The value of the 'id' attribute, below, should match the corresponding -->
8 <!-- value in cspace/config/services/tenants/materials-tenant-bindings-proto.xml -->
10 <tenant:tenantBinding id="2000">
11 <tenant:elasticSearchDocumentWriter merge:action="replace">
12 org.collectionspace.services.nuxeo.elasticsearch.materials.MaterialsESDocumentWriter
13 </tenant:elasticSearchDocumentWriter>
15 <tenant:elasticSearchIndexConfig merge:action="replace">
16 <tenant:mapping merge:action="replace">
18 // For now, don't index a field unless there's a mapping explicitly defined. This keeps the
19 // index as small as possible. We may want to turn this on in the future, to support arbitrary
20 // searches through Elasticsearch, e.g. NXQL queries for ad hoc reporting in the CSpace UI.
27 "collectionspace_denorm:*",
28 "collectionspace_core:*",
29 "ecm:currentLifeCycleState",
32 "materials_common:shortIdentifier",
33 "materials_common:featuredCollectionGroupList",
34 "materials_common:publishToList",
35 "materials_common:externalUrlGroupList",
36 "materials_common:materialTermGroupList",
37 "materials_common:materialCompositionGroupList",
38 "materials_common:description",
39 "materials_common:typicalUses",
40 "materials_common:discontinued",
41 "materials_common:productionDate",
42 "materials_common:materialProductionOrganizationGroupList",
43 "materials_common:materialProductionPersonGroupList",
44 "materials_common:materialProductionPlaceGroupList",
45 "materials_common:productionNote",
46 "materials_common:additionalResourceGroupList",
47 "materials_common:featuredApplicationGroupList",
48 "materials_common:commonForm",
49 "materials_common:formTypeGroupList",
50 "materials_common:acousticalPropertyGroupList",
51 "materials_common:durabilityPropertyGroupList",
52 "materials_common:electricalPropertyGroupList",
53 "materials_common:hygrothermalPropertyGroupList",
54 "materials_common:mechanicalPropertyGroupList",
55 "materials_common:opticalPropertyGroupList",
56 "materials_common:sensorialPropertyGroupList",
57 "materials_common:smartMaterialPropertyGroupList",
58 "materials_common:additionalPropertyGroupList",
59 "materials_common:propertyNote",
60 "materials_common:recycledContentGroupList",
61 "materials_common:lifecycleComponentGroupList",
62 "materials_common:embodiedEnergyGroupList",
63 "materials_common:certificationCreditGroupList",
64 "materials_common:ecologyNote",
65 "materials_common:castingProcesses",
66 "materials_common:joiningProcesses",
67 "materials_common:moldingProcesses",
68 "materials_common:surfacingProcesses",
69 "materials_common:deformingProcesses",
70 "materials_common:machiningProcesses",
71 "materials_common:rapidPrototypingProcesses",
72 "materials_common:additionalProcessGroupList",
73 "materials_common:processNote",
74 "collectionobjects_common:contentDescription",
75 "collectionobjects_common:contentEvents",
76 "collectionobjects_common:contentOrganizations",
77 "collectionobjects_common:contentPersons",
78 "collectionobjects_common:objectHistoryNote",
79 "collectionobjects_common:objectNumber",
80 "collectionobjects_common:objectStatusList",
81 "collectionobjects_common:publishedRelatedLinkGroupList",
82 "collectionobjects_common:publishToList",
83 "collectionobjects_common:materialGroupList",
84 "collectionobjects_common:otherNumberList",
85 "collectionobjects_common:ownersContributionNote",
86 "collectionobjects_common:collection",
87 "collectionobjects_common:namedCollections",
88 "collectionobjects_common:computedCurrentLocation",
89 "collectionobjects_materials:materialContainerGroupList",
90 "collectionobjects_materials:materialConditionGroupList",
91 "collectionobjects_materials:materialHandlingGroupList",
92 "collectionobjects_materials:materialPhysicalDescriptions",
93 "collectionobjects_common:colors",
94 "collectionobjects_materials:materialGenericColors",
95 "collectionobjects_materials:materialFinishGroupList",
96 "collectionobjects_common:numberOfObjects",
97 "collectionobjects_common:objectCountGroupList",
98 "collectionobjects_common:briefDescriptions",
99 "collectionobjects_common:measuredPartGroupList",
100 "collectionobjects_common:viewersContributionNote",
101 "collectionobjects_common:rightsGroupList.rightStatement",
102 "collectionobjects_common:rightsGroupList.standardizedRightStatement",
103 "collectionobjects_common:rightsInGroupList.rightReproductionStatement",
104 "media_common:blobCsid",
105 "media_common:identificationNumber",
106 "media_common:title",
107 "media_common:altText",
108 "media_materials:publishToList"
114 "analyzer": "fulltext"
117 "ecm:currentLifeCycleState": {
125 "analyzer" : "doctype_analyzer"
128 "collectionspace_denorm:title": {
130 "normalizer": "sorting_normalizer"
132 "collectionspace_denorm:commercialNames": {
134 "analyzer": "fulltext"
136 "collectionspace_denorm:commonNames": {
138 "analyzer": "fulltext"
140 "collectionspace_denorm:holdingInstitutions": {
142 "copy_to": "all_field",
146 "normalizer": "refname_displayname_normalizer"
150 "collectionspace_denorm:mediaAltText": {
152 "copy_to": "all_field"
154 "collectionspace_denorm:exhibition": {
159 "copy_to": "all_field"
163 "copy_to": "all_field"
167 "copy_to": "all_field"
171 "collectionspace_denorm:objectCsid": {
175 "collectionspace_core:createdAt": {
177 // Sometimes the timestamp only has a two digit fractional second, instead of three.
178 // From imported data??
179 "format" : "date_time||yyyy-MM-dd'T'HH:mm:ss.SSZZ"
181 "collectionspace_core:updatedAt": {
183 // Sometimes the timestamp only has a two digit fractional second, instead of three.
184 // From imported data??
185 "format" : "date_time||yyyy-MM-dd'T'HH:mm:ss.SSZZ"
188 "materials_common:shortIdentifier": {
190 "copy_to": "all_field"
192 "materials_common:materialTermGroupList": {
197 "copy_to": "all_field"
201 "materials_common:featuredCollectionGroupList": {
204 "featuredCollection": {
206 "copy_to": "all_field",
210 "normalizer": "refname_displayname_normalizer"
216 "materials_common:publishToList": {
221 "normalizer": "refname_shortid_normalizer"
225 "materials_common:materialCompositionGroupList": {
228 "materialCompositionFamilyName": {
230 "copy_to": "all_field",
234 "normalizer": "refname_displayname_normalizer"
238 "materialCompositionClassName": {
240 "copy_to": "all_field",
244 "normalizer": "refname_displayname_normalizer"
248 "materialCompositionGenericName": {
250 "copy_to": "all_field",
254 "normalizer": "refname_displayname_normalizer"
260 "materials_common:description": {
262 "analyzer" : "fulltext",
263 "copy_to": "all_field"
265 "materials_common:typicalUses": {
267 "copy_to": "all_field",
271 "normalizer": "refname_displayname_normalizer"
275 "materials_common:materialProductionOrganizationGroupList": {
278 "materialProductionOrganization": {
280 "copy_to": "all_field",
284 "normalizer": "refname_displayname_normalizer"
290 "materials_common:materialProductionPersonGroupList": {
293 "materialProductionPerson": {
295 "copy_to": "all_field",
299 "normalizer": "refname_displayname_normalizer"
305 "materials_common:materialProductionPlaceGroupList": {
308 "materialProductionPlace": {
310 "copy_to": "all_field",
314 "normalizer": "refname_displayname_normalizer"
320 "materials_common:featuredApplicationGroupList": {
323 "featuredApplication": {
325 "copy_to": "all_field",
329 "normalizer": "refname_displayname_normalizer"
335 "materials_common:commonForm": {
337 "copy_to": "all_field",
341 "normalizer": "refname_displayname_normalizer"
345 "materials_common:formTypeGroupList": {
350 "copy_to": "all_field",
354 "normalizer": "refname_displayname_normalizer"
361 "materials_common:acousticalPropertyGroupList": {
364 "acousticalPropertyType": {
366 "copy_to": "all_field",
370 "normalizer": "refname_displayname_normalizer"
376 "materials_common:durabilityPropertyGroupList": {
379 "durabilityPropertyType": {
381 "copy_to": "all_field",
385 "normalizer": "refname_displayname_normalizer"
391 "materials_common:electricalPropertyGroupList": {
394 "electricalPropertyType": {
396 "copy_to": "all_field",
400 "normalizer": "refname_displayname_normalizer"
406 "materials_common:hygrothermalPropertyGroupList": {
409 "hygrothermalPropertyType": {
411 "copy_to": "all_field",
415 "normalizer": "refname_displayname_normalizer"
421 "materials_common:mechanicalPropertyGroupList": {
424 "mechanicalPropertyType": {
426 "copy_to": "all_field",
430 "normalizer": "refname_displayname_normalizer"
436 "materials_common:opticalPropertyGroupList": {
439 "opticalPropertyType": {
441 "copy_to": "all_field",
445 "normalizer": "refname_displayname_normalizer"
451 "materials_common:sensorialPropertyGroupList": {
454 "sensorialPropertyType": {
456 "copy_to": "all_field",
460 "normalizer": "refname_displayname_normalizer"
466 "materials_common:smartMaterialPropertyGroupList": {
469 "smartMaterialPropertyType": {
471 "copy_to": "all_field",
475 "normalizer": "refname_displayname_normalizer"
481 "materials_common:additionalPropertyGroupList": {
484 "additionalPropertyType": {
486 "copy_to": "all_field",
490 "normalizer": "refname_displayname_normalizer"
497 "materials_common:recycledContentGroupList": {
500 "recycledContentQualifier": {
502 "copy_to": "all_field",
506 "normalizer": "refname_displayname_normalizer"
512 "materials_common:lifecycleComponentGroupList": {
515 "lifecycleComponent": {
517 "copy_to": "all_field",
521 "normalizer": "refname_displayname_normalizer"
527 // TODO: embodiedEnergy - range?
528 "materials_common:certificationCreditGroupList": {
531 "certificationProgram": {
533 "copy_to": "all_field",
537 "normalizer": "refname_displayname_normalizer"
544 "materials_common:castingProcesses": {
546 "copy_to": "all_field",
550 "normalizer": "refname_displayname_normalizer"
554 "materials_common:joiningProcesses": {
556 "copy_to": "all_field",
560 "normalizer": "refname_displayname_normalizer"
564 "materials_common:moldingProcesses": {
566 "copy_to": "all_field",
570 "normalizer": "refname_displayname_normalizer"
574 "materials_common:surfacingProcesses": {
576 "copy_to": "all_field",
580 "normalizer": "refname_displayname_normalizer"
584 "materials_common:deformingProcesses": {
586 "copy_to": "all_field",
590 "normalizer": "refname_displayname_normalizer"
594 "materials_common:machiningProcesses": {
596 "copy_to": "all_field",
600 "normalizer": "refname_displayname_normalizer"
604 "materials_common:rapidPrototypingProcesses": {
606 "copy_to": "all_field",
610 "normalizer": "refname_displayname_normalizer"
614 "materials_common:additionalProcessGroupList": {
617 "additionalProcess": {
619 "copy_to": "all_field",
623 "normalizer": "refname_displayname_normalizer"
630 "collectionobjects_common:objectNumber": {
632 "copy_to": "all_field"
634 "collectionobjects_common:publishToList": {
639 "normalizer": "refname_shortid_normalizer"
643 "collectionobjects_common:briefDescriptions": {
645 "copy_to": "all_field"
647 "collectionobjects_common:contentDescription": {
649 "copy_to": "all_field"
651 "collectionobjects_common:contentEvents": {
653 "copy_to": "all_field",
657 "normalizer": "refname_displayname_normalizer"
661 "collectionobjects_common:contentOrganizations": {
663 "copy_to": "all_field",
667 "normalizer": "refname_displayname_normalizer"
671 "collectionobjects_common:contentPersons": {
673 "copy_to": "all_field",
677 "normalizer": "refname_displayname_normalizer"
681 "collectionobjects_common:materialGroupList": {
686 "copy_to": "all_field",
690 "normalizer": "refname_displayname_normalizer"
694 "normalizer": "refname_shortid_normalizer"
700 "collectionobjects_common:objectHistoryNote": {
702 "copy_to": "all_field"
704 "collectionobjects_common:ownersContributionNote": {
706 "copy_to": "all_field"
708 "collectionobjects_common:viewersContributionNote": {
710 "copy_to": "all_field"
712 "media_common:identificationNumber": {
714 "normalizer": "sorting_normalizer"
716 "media_common:altText": {
719 "media_common:title": {
721 "normalizer": "sorting_normalizer"
723 "media_materials:publishToList": {
728 "normalizer": "refname_shortid_normalizer"
735 </tenant:elasticSearchIndexConfig>
736 </tenant:tenantBinding>
737 </tenant:TenantBindingConfig>