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:publishToList",
34 "materials_common:externalUrlGroupList",
35 "materials_common:materialTermGroupList",
36 "materials_common:materialCompositionGroupList",
37 "materials_common:description",
38 "materials_common:typicalUses",
39 "materials_common:discontinued",
40 "materials_common:productionDate",
41 "materials_common:materialProductionOrganizationGroupList",
42 "materials_common:materialProductionPersonGroupList",
43 "materials_common:materialProductionPlaceGroupList",
44 "materials_common:productionNote",
45 "materials_common:additionalResourceGroupList",
46 "materials_common:featuredApplicationGroupList",
47 "materials_common:commonForm",
48 "materials_common:formTypeGroupList",
49 "materials_common:acousticalPropertyGroupList",
50 "materials_common:durabilityPropertyGroupList",
51 "materials_common:electricalPropertyGroupList",
52 "materials_common:hygrothermalPropertyGroupList",
53 "materials_common:mechanicalPropertyGroupList",
54 "materials_common:opticalPropertyGroupList",
55 "materials_common:sensorialPropertyGroupList",
56 "materials_common:smartMaterialPropertyGroupList",
57 "materials_common:additionalPropertyGroupList",
58 "materials_common:propertyNote",
59 "materials_common:recycledContentGroupList",
60 "materials_common:lifecycleComponentGroupList",
61 "materials_common:embodiedEnergyGroupList",
62 "materials_common:certificationCreditGroupList",
63 "materials_common:ecologyNote",
64 "materials_common:castingProcesses",
65 "materials_common:joiningProcesses",
66 "materials_common:moldingProcesses",
67 "materials_common:surfacingProcesses",
68 "materials_common:deformingProcesses",
69 "materials_common:machiningProcesses",
70 "materials_common:rapidPrototypingProcesses",
71 "materials_common:additionalProcessGroupList",
72 "materials_common:processNote",
73 "collectionobjects_common:objectHistoryNote",
74 "collectionobjects_common:objectNumber",
75 "collectionobjects_common:objectStatusList",
76 "collectionobjects_common:publishToList",
77 "collectionobjects_common:materialGroupList",
78 "collectionobjects_common:otherNumberList",
79 "collectionobjects_common:ownersContributionNote",
80 "collectionobjects_common:collection",
81 "collectionobjects_common:computedCurrentLocation",
82 "collectionobjects_materials:materialContainerGroupList",
83 "collectionobjects_materials:materialConditionGroupList",
84 "collectionobjects_materials:materialHandlingGroupList",
85 "collectionobjects_materials:materialPhysicalDescriptions",
86 "collectionobjects_common:colors",
87 "collectionobjects_materials:materialGenericColors",
88 "collectionobjects_materials:materialFinishGroupList",
89 "collectionobjects_common:numberOfObjects",
90 "collectionobjects_common:briefDescriptions",
91 "collectionobjects_common:measuredPartGroupList",
92 "collectionobjects_common:viewersContributionNote",
93 "media_common:blobCsid",
94 "media_materials:publishToList"
100 "analyzer": "fulltext"
103 "ecm:currentLifeCycleState": {
111 "analyzer" : "doctype_analyzer"
114 "collectionspace_denorm:title": {
116 "normalizer": "sorting_normalizer"
118 "collectionspace_denorm:commercialNames": {
120 "analyzer": "fulltext"
122 "collectionspace_denorm:commonNames": {
124 "analyzer": "fulltext"
126 "collectionspace_denorm:holdingInstitutions": {
128 "copy_to": "all_field",
132 "normalizer": "refname_displayname_normalizer"
136 "collectionspace_denorm:mediaAltText": {
138 "copy_to": "all_field"
140 "collectionspace_denorm:exhibition": {
145 "copy_to": "all_field"
149 "copy_to": "all_field"
153 "copy_to": "all_field"
158 "collectionspace_core:createdAt": {
160 // Sometimes the timestamp only has a two digit fractional second, instead of three.
161 // From imported data??
162 "format" : "date_time||yyyy-MM-dd'T'HH:mm:ss.SSZZ"
165 "materials_common:shortIdentifier": {
167 "copy_to": "all_field"
169 "materials_common:materialTermGroupList": {
174 "copy_to": "all_field"
178 "materials_common:publishToList": {
183 "normalizer": "refname_shortid_normalizer"
187 "materials_common:materialCompositionGroupList": {
190 "materialCompositionFamilyName": {
192 "copy_to": "all_field",
196 "normalizer": "refname_displayname_normalizer"
200 "materialCompositionClassName": {
202 "copy_to": "all_field",
206 "normalizer": "refname_displayname_normalizer"
210 "materialCompositionGenericName": {
212 "copy_to": "all_field",
216 "normalizer": "refname_displayname_normalizer"
222 "materials_common:description": {
224 "analyzer" : "fulltext",
225 "copy_to": "all_field"
227 "materials_common:typicalUses": {
229 "copy_to": "all_field",
233 "normalizer": "refname_displayname_normalizer"
237 "materials_common:materialProductionOrganizationGroupList": {
240 "materialProductionOrganization": {
242 "copy_to": "all_field",
246 "normalizer": "refname_displayname_normalizer"
252 "materials_common:materialProductionPersonGroupList": {
255 "materialProductionPerson": {
257 "copy_to": "all_field",
261 "normalizer": "refname_displayname_normalizer"
267 "materials_common:materialProductionPlaceGroupList": {
270 "materialProductionPlace": {
272 "copy_to": "all_field",
276 "normalizer": "refname_displayname_normalizer"
282 "materials_common:featuredApplicationGroupList": {
285 "featuredApplication": {
287 "copy_to": "all_field",
291 "normalizer": "refname_displayname_normalizer"
297 "materials_common:commonForm": {
299 "copy_to": "all_field",
303 "normalizer": "refname_displayname_normalizer"
307 "materials_common:formTypeGroupList": {
312 "copy_to": "all_field",
316 "normalizer": "refname_displayname_normalizer"
323 "materials_common:acousticalPropertyGroupList": {
326 "acousticalPropertyType": {
328 "copy_to": "all_field",
332 "normalizer": "refname_displayname_normalizer"
338 "materials_common:durabilityPropertyGroupList": {
341 "durabilityPropertyType": {
343 "copy_to": "all_field",
347 "normalizer": "refname_displayname_normalizer"
353 "materials_common:electricalPropertyGroupList": {
356 "electricalPropertyType": {
358 "copy_to": "all_field",
362 "normalizer": "refname_displayname_normalizer"
368 "materials_common:hygrothermalPropertyGroupList": {
371 "hygrothermalPropertyType": {
373 "copy_to": "all_field",
377 "normalizer": "refname_displayname_normalizer"
383 "materials_common:mechanicalPropertyGroupList": {
386 "mechanicalPropertyType": {
388 "copy_to": "all_field",
392 "normalizer": "refname_displayname_normalizer"
398 "materials_common:opticalPropertyGroupList": {
401 "opticalPropertyType": {
403 "copy_to": "all_field",
407 "normalizer": "refname_displayname_normalizer"
413 "materials_common:sensorialPropertyGroupList": {
416 "sensorialPropertyType": {
418 "copy_to": "all_field",
422 "normalizer": "refname_displayname_normalizer"
428 "materials_common:smartMaterialPropertyGroupList": {
431 "smartMaterialPropertyType": {
433 "copy_to": "all_field",
437 "normalizer": "refname_displayname_normalizer"
443 "materials_common:additionalPropertyGroupList": {
446 "additionalPropertyType": {
448 "copy_to": "all_field",
452 "normalizer": "refname_displayname_normalizer"
459 "materials_common:recycledContentGroupList": {
462 "recycledContentQualifier": {
464 "copy_to": "all_field",
468 "normalizer": "refname_displayname_normalizer"
474 "materials_common:lifecycleComponentGroupList": {
477 "lifecycleComponent": {
479 "copy_to": "all_field",
483 "normalizer": "refname_displayname_normalizer"
489 // TODO: embodiedEnergy - range?
490 "materials_common:certificationCreditGroupList": {
493 "certificationProgram": {
495 "copy_to": "all_field",
499 "normalizer": "refname_displayname_normalizer"
506 "materials_common:castingProcesses": {
508 "copy_to": "all_field",
512 "normalizer": "refname_displayname_normalizer"
516 "materials_common:joiningProcesses": {
518 "copy_to": "all_field",
522 "normalizer": "refname_displayname_normalizer"
526 "materials_common:moldingProcesses": {
528 "copy_to": "all_field",
532 "normalizer": "refname_displayname_normalizer"
536 "materials_common:surfacingProcesses": {
538 "copy_to": "all_field",
542 "normalizer": "refname_displayname_normalizer"
546 "materials_common:deformingProcesses": {
548 "copy_to": "all_field",
552 "normalizer": "refname_displayname_normalizer"
556 "materials_common:machiningProcesses": {
558 "copy_to": "all_field",
562 "normalizer": "refname_displayname_normalizer"
566 "materials_common:rapidPrototypingProcesses": {
568 "copy_to": "all_field",
572 "normalizer": "refname_displayname_normalizer"
576 "materials_common:additionalProcessGroupList": {
579 "additionalProcess": {
581 "copy_to": "all_field",
585 "normalizer": "refname_displayname_normalizer"
592 "collectionobjects_common:objectNumber": {
594 "copy_to": "all_field"
596 "collectionobjects_common:publishToList": {
601 "normalizer": "refname_shortid_normalizer"
605 "collectionobjects_common:materialGroupList": {
610 "copy_to": "all_field",
614 "normalizer": "refname_displayname_normalizer"
618 "normalizer": "refname_shortid_normalizer"
624 "collectionobjects_common:objectHistoryNote": {
626 "copy_to": "all_field"
628 "collectionobjects_common:ownersContributionNote": {
630 "copy_to": "all_field"
632 "collectionobjects_common:viewersContributionNote": {
634 "copy_to": "all_field"
637 "media_materials:publishToList": {
642 "normalizer": "refname_shortid_normalizer"
649 </tenant:elasticSearchIndexConfig>
650 </tenant:tenantBinding>
651 </tenant:TenantBindingConfig>