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_materials:publishToList"
111 "analyzer": "fulltext"
114 "ecm:currentLifeCycleState": {
122 "analyzer" : "doctype_analyzer"
125 "collectionspace_denorm:title": {
127 "normalizer": "sorting_normalizer"
129 "collectionspace_denorm:commercialNames": {
131 "analyzer": "fulltext"
133 "collectionspace_denorm:commonNames": {
135 "analyzer": "fulltext"
137 "collectionspace_denorm:holdingInstitutions": {
139 "copy_to": "all_field",
143 "normalizer": "refname_displayname_normalizer"
147 "collectionspace_denorm:mediaAltText": {
149 "copy_to": "all_field"
151 "collectionspace_denorm:exhibition": {
156 "copy_to": "all_field"
160 "copy_to": "all_field"
164 "copy_to": "all_field"
169 "collectionspace_core:createdAt": {
171 // Sometimes the timestamp only has a two digit fractional second, instead of three.
172 // From imported data??
173 "format" : "date_time||yyyy-MM-dd'T'HH:mm:ss.SSZZ"
176 "materials_common:shortIdentifier": {
178 "copy_to": "all_field"
180 "materials_common:materialTermGroupList": {
185 "copy_to": "all_field"
189 "materials_common:featuredCollectionGroupList": {
192 "featuredCollection": {
194 "copy_to": "all_field",
198 "normalizer": "refname_displayname_normalizer"
204 "materials_common:publishToList": {
209 "normalizer": "refname_shortid_normalizer"
213 "materials_common:materialCompositionGroupList": {
216 "materialCompositionFamilyName": {
218 "copy_to": "all_field",
222 "normalizer": "refname_displayname_normalizer"
226 "materialCompositionClassName": {
228 "copy_to": "all_field",
232 "normalizer": "refname_displayname_normalizer"
236 "materialCompositionGenericName": {
238 "copy_to": "all_field",
242 "normalizer": "refname_displayname_normalizer"
248 "materials_common:description": {
250 "analyzer" : "fulltext",
251 "copy_to": "all_field"
253 "materials_common:typicalUses": {
255 "copy_to": "all_field",
259 "normalizer": "refname_displayname_normalizer"
263 "materials_common:materialProductionOrganizationGroupList": {
266 "materialProductionOrganization": {
268 "copy_to": "all_field",
272 "normalizer": "refname_displayname_normalizer"
278 "materials_common:materialProductionPersonGroupList": {
281 "materialProductionPerson": {
283 "copy_to": "all_field",
287 "normalizer": "refname_displayname_normalizer"
293 "materials_common:materialProductionPlaceGroupList": {
296 "materialProductionPlace": {
298 "copy_to": "all_field",
302 "normalizer": "refname_displayname_normalizer"
308 "materials_common:featuredApplicationGroupList": {
311 "featuredApplication": {
313 "copy_to": "all_field",
317 "normalizer": "refname_displayname_normalizer"
323 "materials_common:commonForm": {
325 "copy_to": "all_field",
329 "normalizer": "refname_displayname_normalizer"
333 "materials_common:formTypeGroupList": {
338 "copy_to": "all_field",
342 "normalizer": "refname_displayname_normalizer"
349 "materials_common:acousticalPropertyGroupList": {
352 "acousticalPropertyType": {
354 "copy_to": "all_field",
358 "normalizer": "refname_displayname_normalizer"
364 "materials_common:durabilityPropertyGroupList": {
367 "durabilityPropertyType": {
369 "copy_to": "all_field",
373 "normalizer": "refname_displayname_normalizer"
379 "materials_common:electricalPropertyGroupList": {
382 "electricalPropertyType": {
384 "copy_to": "all_field",
388 "normalizer": "refname_displayname_normalizer"
394 "materials_common:hygrothermalPropertyGroupList": {
397 "hygrothermalPropertyType": {
399 "copy_to": "all_field",
403 "normalizer": "refname_displayname_normalizer"
409 "materials_common:mechanicalPropertyGroupList": {
412 "mechanicalPropertyType": {
414 "copy_to": "all_field",
418 "normalizer": "refname_displayname_normalizer"
424 "materials_common:opticalPropertyGroupList": {
427 "opticalPropertyType": {
429 "copy_to": "all_field",
433 "normalizer": "refname_displayname_normalizer"
439 "materials_common:sensorialPropertyGroupList": {
442 "sensorialPropertyType": {
444 "copy_to": "all_field",
448 "normalizer": "refname_displayname_normalizer"
454 "materials_common:smartMaterialPropertyGroupList": {
457 "smartMaterialPropertyType": {
459 "copy_to": "all_field",
463 "normalizer": "refname_displayname_normalizer"
469 "materials_common:additionalPropertyGroupList": {
472 "additionalPropertyType": {
474 "copy_to": "all_field",
478 "normalizer": "refname_displayname_normalizer"
485 "materials_common:recycledContentGroupList": {
488 "recycledContentQualifier": {
490 "copy_to": "all_field",
494 "normalizer": "refname_displayname_normalizer"
500 "materials_common:lifecycleComponentGroupList": {
503 "lifecycleComponent": {
505 "copy_to": "all_field",
509 "normalizer": "refname_displayname_normalizer"
515 // TODO: embodiedEnergy - range?
516 "materials_common:certificationCreditGroupList": {
519 "certificationProgram": {
521 "copy_to": "all_field",
525 "normalizer": "refname_displayname_normalizer"
532 "materials_common:castingProcesses": {
534 "copy_to": "all_field",
538 "normalizer": "refname_displayname_normalizer"
542 "materials_common:joiningProcesses": {
544 "copy_to": "all_field",
548 "normalizer": "refname_displayname_normalizer"
552 "materials_common:moldingProcesses": {
554 "copy_to": "all_field",
558 "normalizer": "refname_displayname_normalizer"
562 "materials_common:surfacingProcesses": {
564 "copy_to": "all_field",
568 "normalizer": "refname_displayname_normalizer"
572 "materials_common:deformingProcesses": {
574 "copy_to": "all_field",
578 "normalizer": "refname_displayname_normalizer"
582 "materials_common:machiningProcesses": {
584 "copy_to": "all_field",
588 "normalizer": "refname_displayname_normalizer"
592 "materials_common:rapidPrototypingProcesses": {
594 "copy_to": "all_field",
598 "normalizer": "refname_displayname_normalizer"
602 "materials_common:additionalProcessGroupList": {
605 "additionalProcess": {
607 "copy_to": "all_field",
611 "normalizer": "refname_displayname_normalizer"
618 "collectionobjects_common:objectNumber": {
620 "copy_to": "all_field"
622 "collectionobjects_common:publishToList": {
627 "normalizer": "refname_shortid_normalizer"
631 "collectionobjects_common:briefDescriptions": {
633 "copy_to": "all_field"
635 "collectionobjects_common:contentDescription": {
637 "copy_to": "all_field"
639 "collectionobjects_common:contentEvents": {
641 "copy_to": "all_field",
645 "normalizer": "refname_displayname_normalizer"
649 "collectionobjects_common:contentOrganizations": {
651 "copy_to": "all_field",
655 "normalizer": "refname_displayname_normalizer"
659 "collectionobjects_common:contentPersons": {
661 "copy_to": "all_field",
665 "normalizer": "refname_displayname_normalizer"
669 "collectionobjects_common:materialGroupList": {
674 "copy_to": "all_field",
678 "normalizer": "refname_displayname_normalizer"
682 "normalizer": "refname_shortid_normalizer"
688 "collectionobjects_common:objectHistoryNote": {
690 "copy_to": "all_field"
692 "collectionobjects_common:ownersContributionNote": {
694 "copy_to": "all_field"
696 "collectionobjects_common:viewersContributionNote": {
698 "copy_to": "all_field"
701 "media_materials:publishToList": {
706 "normalizer": "refname_shortid_normalizer"
713 </tenant:elasticSearchIndexConfig>
714 </tenant:tenantBinding>
715 </tenant:TenantBindingConfig>