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:publishToList",
82 "collectionobjects_common:materialGroupList",
83 "collectionobjects_common:otherNumberList",
84 "collectionobjects_common:ownersContributionNote",
85 "collectionobjects_common:collection",
86 "collectionobjects_common:namedCollections",
87 "collectionobjects_common:computedCurrentLocation",
88 "collectionobjects_materials:materialContainerGroupList",
89 "collectionobjects_materials:materialConditionGroupList",
90 "collectionobjects_materials:materialHandlingGroupList",
91 "collectionobjects_materials:materialPhysicalDescriptions",
92 "collectionobjects_common:colors",
93 "collectionobjects_materials:materialGenericColors",
94 "collectionobjects_materials:materialFinishGroupList",
95 "collectionobjects_common:numberOfObjects",
96 "collectionobjects_common:objectCountGroupList",
97 "collectionobjects_common:briefDescriptions",
98 "collectionobjects_common:measuredPartGroupList",
99 "collectionobjects_common:viewersContributionNote",
100 "collectionobjects_common:rightsGroupList.rightStatement",
101 "collectionobjects_common:rightsGroupList.standardizedRightStatement",
102 "collectionobjects_common:rightsInGroupList.rightReproductionStatement",
103 "media_common:blobCsid",
104 "media_materials:publishToList"
110 "analyzer": "fulltext"
113 "ecm:currentLifeCycleState": {
121 "analyzer" : "doctype_analyzer"
124 "collectionspace_denorm:title": {
126 "normalizer": "sorting_normalizer"
128 "collectionspace_denorm:commercialNames": {
130 "analyzer": "fulltext"
132 "collectionspace_denorm:commonNames": {
134 "analyzer": "fulltext"
136 "collectionspace_denorm:holdingInstitutions": {
138 "copy_to": "all_field",
142 "normalizer": "refname_displayname_normalizer"
146 "collectionspace_denorm:mediaAltText": {
148 "copy_to": "all_field"
150 "collectionspace_denorm:exhibition": {
155 "copy_to": "all_field"
159 "copy_to": "all_field"
163 "copy_to": "all_field"
168 "collectionspace_core:createdAt": {
170 // Sometimes the timestamp only has a two digit fractional second, instead of three.
171 // From imported data??
172 "format" : "date_time||yyyy-MM-dd'T'HH:mm:ss.SSZZ"
175 "materials_common:shortIdentifier": {
177 "copy_to": "all_field"
179 "materials_common:materialTermGroupList": {
184 "copy_to": "all_field"
188 "materials_common:featuredCollectionGroupList": {
191 "featuredCollection": {
193 "copy_to": "all_field",
197 "normalizer": "refname_displayname_normalizer"
203 "materials_common:publishToList": {
208 "normalizer": "refname_shortid_normalizer"
212 "materials_common:materialCompositionGroupList": {
215 "materialCompositionFamilyName": {
217 "copy_to": "all_field",
221 "normalizer": "refname_displayname_normalizer"
225 "materialCompositionClassName": {
227 "copy_to": "all_field",
231 "normalizer": "refname_displayname_normalizer"
235 "materialCompositionGenericName": {
237 "copy_to": "all_field",
241 "normalizer": "refname_displayname_normalizer"
247 "materials_common:description": {
249 "analyzer" : "fulltext",
250 "copy_to": "all_field"
252 "materials_common:typicalUses": {
254 "copy_to": "all_field",
258 "normalizer": "refname_displayname_normalizer"
262 "materials_common:materialProductionOrganizationGroupList": {
265 "materialProductionOrganization": {
267 "copy_to": "all_field",
271 "normalizer": "refname_displayname_normalizer"
277 "materials_common:materialProductionPersonGroupList": {
280 "materialProductionPerson": {
282 "copy_to": "all_field",
286 "normalizer": "refname_displayname_normalizer"
292 "materials_common:materialProductionPlaceGroupList": {
295 "materialProductionPlace": {
297 "copy_to": "all_field",
301 "normalizer": "refname_displayname_normalizer"
307 "materials_common:featuredApplicationGroupList": {
310 "featuredApplication": {
312 "copy_to": "all_field",
316 "normalizer": "refname_displayname_normalizer"
322 "materials_common:commonForm": {
324 "copy_to": "all_field",
328 "normalizer": "refname_displayname_normalizer"
332 "materials_common:formTypeGroupList": {
337 "copy_to": "all_field",
341 "normalizer": "refname_displayname_normalizer"
348 "materials_common:acousticalPropertyGroupList": {
351 "acousticalPropertyType": {
353 "copy_to": "all_field",
357 "normalizer": "refname_displayname_normalizer"
363 "materials_common:durabilityPropertyGroupList": {
366 "durabilityPropertyType": {
368 "copy_to": "all_field",
372 "normalizer": "refname_displayname_normalizer"
378 "materials_common:electricalPropertyGroupList": {
381 "electricalPropertyType": {
383 "copy_to": "all_field",
387 "normalizer": "refname_displayname_normalizer"
393 "materials_common:hygrothermalPropertyGroupList": {
396 "hygrothermalPropertyType": {
398 "copy_to": "all_field",
402 "normalizer": "refname_displayname_normalizer"
408 "materials_common:mechanicalPropertyGroupList": {
411 "mechanicalPropertyType": {
413 "copy_to": "all_field",
417 "normalizer": "refname_displayname_normalizer"
423 "materials_common:opticalPropertyGroupList": {
426 "opticalPropertyType": {
428 "copy_to": "all_field",
432 "normalizer": "refname_displayname_normalizer"
438 "materials_common:sensorialPropertyGroupList": {
441 "sensorialPropertyType": {
443 "copy_to": "all_field",
447 "normalizer": "refname_displayname_normalizer"
453 "materials_common:smartMaterialPropertyGroupList": {
456 "smartMaterialPropertyType": {
458 "copy_to": "all_field",
462 "normalizer": "refname_displayname_normalizer"
468 "materials_common:additionalPropertyGroupList": {
471 "additionalPropertyType": {
473 "copy_to": "all_field",
477 "normalizer": "refname_displayname_normalizer"
484 "materials_common:recycledContentGroupList": {
487 "recycledContentQualifier": {
489 "copy_to": "all_field",
493 "normalizer": "refname_displayname_normalizer"
499 "materials_common:lifecycleComponentGroupList": {
502 "lifecycleComponent": {
504 "copy_to": "all_field",
508 "normalizer": "refname_displayname_normalizer"
514 // TODO: embodiedEnergy - range?
515 "materials_common:certificationCreditGroupList": {
518 "certificationProgram": {
520 "copy_to": "all_field",
524 "normalizer": "refname_displayname_normalizer"
531 "materials_common:castingProcesses": {
533 "copy_to": "all_field",
537 "normalizer": "refname_displayname_normalizer"
541 "materials_common:joiningProcesses": {
543 "copy_to": "all_field",
547 "normalizer": "refname_displayname_normalizer"
551 "materials_common:moldingProcesses": {
553 "copy_to": "all_field",
557 "normalizer": "refname_displayname_normalizer"
561 "materials_common:surfacingProcesses": {
563 "copy_to": "all_field",
567 "normalizer": "refname_displayname_normalizer"
571 "materials_common:deformingProcesses": {
573 "copy_to": "all_field",
577 "normalizer": "refname_displayname_normalizer"
581 "materials_common:machiningProcesses": {
583 "copy_to": "all_field",
587 "normalizer": "refname_displayname_normalizer"
591 "materials_common:rapidPrototypingProcesses": {
593 "copy_to": "all_field",
597 "normalizer": "refname_displayname_normalizer"
601 "materials_common:additionalProcessGroupList": {
604 "additionalProcess": {
606 "copy_to": "all_field",
610 "normalizer": "refname_displayname_normalizer"
617 "collectionobjects_common:objectNumber": {
619 "copy_to": "all_field"
621 "collectionobjects_common:publishToList": {
626 "normalizer": "refname_shortid_normalizer"
630 "collectionobjects_common:briefDescriptions": {
632 "copy_to": "all_field"
634 "collectionobjects_common:contentDescription": {
636 "copy_to": "all_field"
638 "collectionobjects_common:contentEvents": {
640 "copy_to": "all_field",
644 "normalizer": "refname_displayname_normalizer"
648 "collectionobjects_common:contentOrganizations": {
650 "copy_to": "all_field",
654 "normalizer": "refname_displayname_normalizer"
658 "collectionobjects_common:contentPersons": {
660 "copy_to": "all_field",
664 "normalizer": "refname_displayname_normalizer"
668 "collectionobjects_common:materialGroupList": {
673 "copy_to": "all_field",
677 "normalizer": "refname_displayname_normalizer"
681 "normalizer": "refname_shortid_normalizer"
687 "collectionobjects_common:objectHistoryNote": {
689 "copy_to": "all_field"
691 "collectionobjects_common:ownersContributionNote": {
693 "copy_to": "all_field"
695 "collectionobjects_common:viewersContributionNote": {
697 "copy_to": "all_field"
700 "media_materials:publishToList": {
705 "normalizer": "refname_shortid_normalizer"
712 </tenant:elasticSearchIndexConfig>
713 </tenant:tenantBinding>
714 </tenant:TenantBindingConfig>