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 "materials_common:publishToList": {
202 "normalizer": "refname_shortid_normalizer"
206 "materials_common:materialCompositionGroupList": {
209 "materialCompositionFamilyName": {
211 "copy_to": "all_field",
215 "normalizer": "refname_displayname_normalizer"
219 "materialCompositionClassName": {
221 "copy_to": "all_field",
225 "normalizer": "refname_displayname_normalizer"
229 "materialCompositionGenericName": {
231 "copy_to": "all_field",
235 "normalizer": "refname_displayname_normalizer"
241 "materials_common:description": {
243 "analyzer" : "fulltext",
244 "copy_to": "all_field"
246 "materials_common:typicalUses": {
248 "copy_to": "all_field",
252 "normalizer": "refname_displayname_normalizer"
256 "materials_common:materialProductionOrganizationGroupList": {
259 "materialProductionOrganization": {
261 "copy_to": "all_field",
265 "normalizer": "refname_displayname_normalizer"
271 "materials_common:materialProductionPersonGroupList": {
274 "materialProductionPerson": {
276 "copy_to": "all_field",
280 "normalizer": "refname_displayname_normalizer"
286 "materials_common:materialProductionPlaceGroupList": {
289 "materialProductionPlace": {
291 "copy_to": "all_field",
295 "normalizer": "refname_displayname_normalizer"
301 "materials_common:featuredApplicationGroupList": {
304 "featuredApplication": {
306 "copy_to": "all_field",
310 "normalizer": "refname_displayname_normalizer"
316 "materials_common:commonForm": {
318 "copy_to": "all_field",
322 "normalizer": "refname_displayname_normalizer"
326 "materials_common:formTypeGroupList": {
331 "copy_to": "all_field",
335 "normalizer": "refname_displayname_normalizer"
342 "materials_common:acousticalPropertyGroupList": {
345 "acousticalPropertyType": {
347 "copy_to": "all_field",
351 "normalizer": "refname_displayname_normalizer"
357 "materials_common:durabilityPropertyGroupList": {
360 "durabilityPropertyType": {
362 "copy_to": "all_field",
366 "normalizer": "refname_displayname_normalizer"
372 "materials_common:electricalPropertyGroupList": {
375 "electricalPropertyType": {
377 "copy_to": "all_field",
381 "normalizer": "refname_displayname_normalizer"
387 "materials_common:hygrothermalPropertyGroupList": {
390 "hygrothermalPropertyType": {
392 "copy_to": "all_field",
396 "normalizer": "refname_displayname_normalizer"
402 "materials_common:mechanicalPropertyGroupList": {
405 "mechanicalPropertyType": {
407 "copy_to": "all_field",
411 "normalizer": "refname_displayname_normalizer"
417 "materials_common:opticalPropertyGroupList": {
420 "opticalPropertyType": {
422 "copy_to": "all_field",
426 "normalizer": "refname_displayname_normalizer"
432 "materials_common:sensorialPropertyGroupList": {
435 "sensorialPropertyType": {
437 "copy_to": "all_field",
441 "normalizer": "refname_displayname_normalizer"
447 "materials_common:smartMaterialPropertyGroupList": {
450 "smartMaterialPropertyType": {
452 "copy_to": "all_field",
456 "normalizer": "refname_displayname_normalizer"
462 "materials_common:additionalPropertyGroupList": {
465 "additionalPropertyType": {
467 "copy_to": "all_field",
471 "normalizer": "refname_displayname_normalizer"
478 "materials_common:recycledContentGroupList": {
481 "recycledContentQualifier": {
483 "copy_to": "all_field",
487 "normalizer": "refname_displayname_normalizer"
493 "materials_common:lifecycleComponentGroupList": {
496 "lifecycleComponent": {
498 "copy_to": "all_field",
502 "normalizer": "refname_displayname_normalizer"
508 // TODO: embodiedEnergy - range?
509 "materials_common:certificationCreditGroupList": {
512 "certificationProgram": {
514 "copy_to": "all_field",
518 "normalizer": "refname_displayname_normalizer"
525 "materials_common:castingProcesses": {
527 "copy_to": "all_field",
531 "normalizer": "refname_displayname_normalizer"
535 "materials_common:joiningProcesses": {
537 "copy_to": "all_field",
541 "normalizer": "refname_displayname_normalizer"
545 "materials_common:moldingProcesses": {
547 "copy_to": "all_field",
551 "normalizer": "refname_displayname_normalizer"
555 "materials_common:surfacingProcesses": {
557 "copy_to": "all_field",
561 "normalizer": "refname_displayname_normalizer"
565 "materials_common:deformingProcesses": {
567 "copy_to": "all_field",
571 "normalizer": "refname_displayname_normalizer"
575 "materials_common:machiningProcesses": {
577 "copy_to": "all_field",
581 "normalizer": "refname_displayname_normalizer"
585 "materials_common:rapidPrototypingProcesses": {
587 "copy_to": "all_field",
591 "normalizer": "refname_displayname_normalizer"
595 "materials_common:additionalProcessGroupList": {
598 "additionalProcess": {
600 "copy_to": "all_field",
604 "normalizer": "refname_displayname_normalizer"
611 "collectionobjects_common:objectNumber": {
613 "copy_to": "all_field"
615 "collectionobjects_common:publishToList": {
620 "normalizer": "refname_shortid_normalizer"
624 "collectionobjects_common:briefDescriptions": {
626 "copy_to": "all_field"
628 "collectionobjects_common:contentDescription": {
630 "copy_to": "all_field"
632 "collectionobjects_common:contentEvents": {
634 "copy_to": "all_field",
638 "normalizer": "refname_displayname_normalizer"
642 "collectionobjects_common:contentOrganizations": {
644 "copy_to": "all_field",
648 "normalizer": "refname_displayname_normalizer"
652 "collectionobjects_common:contentPersons": {
654 "copy_to": "all_field",
658 "normalizer": "refname_displayname_normalizer"
662 "collectionobjects_common:materialGroupList": {
667 "copy_to": "all_field",
671 "normalizer": "refname_displayname_normalizer"
675 "normalizer": "refname_shortid_normalizer"
681 "collectionobjects_common:objectHistoryNote": {
683 "copy_to": "all_field"
685 "collectionobjects_common:ownersContributionNote": {
687 "copy_to": "all_field"
689 "collectionobjects_common:viewersContributionNote": {
691 "copy_to": "all_field"
694 "media_materials:publishToList": {
699 "normalizer": "refname_shortid_normalizer"
706 </tenant:elasticSearchIndexConfig>
707 </tenant:tenantBinding>
708 </tenant:TenantBindingConfig>