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:objectHistoryNote",
75 "collectionobjects_common:objectNumber",
76 "collectionobjects_common:objectStatusList",
77 "collectionobjects_common:publishToList",
78 "collectionobjects_common:materialGroupList",
79 "collectionobjects_common:otherNumberList",
80 "collectionobjects_common:ownersContributionNote",
81 "collectionobjects_common:collection",
82 "collectionobjects_common:namedCollections",
83 "collectionobjects_common:computedCurrentLocation",
84 "collectionobjects_materials:materialContainerGroupList",
85 "collectionobjects_materials:materialConditionGroupList",
86 "collectionobjects_materials:materialHandlingGroupList",
87 "collectionobjects_materials:materialPhysicalDescriptions",
88 "collectionobjects_common:colors",
89 "collectionobjects_materials:materialGenericColors",
90 "collectionobjects_materials:materialFinishGroupList",
91 "collectionobjects_common:numberOfObjects",
92 "collectionobjects_common:objectCountGroupList",
93 "collectionobjects_common:briefDescriptions",
94 "collectionobjects_common:measuredPartGroupList",
95 "collectionobjects_common:viewersContributionNote",
96 "media_common:blobCsid",
97 "media_materials:publishToList"
103 "analyzer": "fulltext"
106 "ecm:currentLifeCycleState": {
114 "analyzer" : "doctype_analyzer"
117 "collectionspace_denorm:title": {
119 "normalizer": "sorting_normalizer"
121 "collectionspace_denorm:commercialNames": {
123 "analyzer": "fulltext"
125 "collectionspace_denorm:commonNames": {
127 "analyzer": "fulltext"
129 "collectionspace_denorm:holdingInstitutions": {
131 "copy_to": "all_field",
135 "normalizer": "refname_displayname_normalizer"
139 "collectionspace_denorm:mediaAltText": {
141 "copy_to": "all_field"
143 "collectionspace_denorm:exhibition": {
148 "copy_to": "all_field"
152 "copy_to": "all_field"
156 "copy_to": "all_field"
161 "collectionspace_core:createdAt": {
163 // Sometimes the timestamp only has a two digit fractional second, instead of three.
164 // From imported data??
165 "format" : "date_time||yyyy-MM-dd'T'HH:mm:ss.SSZZ"
168 "materials_common:shortIdentifier": {
170 "copy_to": "all_field"
172 "materials_common:materialTermGroupList": {
177 "copy_to": "all_field"
181 "materials_common:featuredCollectionGroupList": {
184 "featuredCollection": {
186 "copy_to": "all_field"
190 "materials_common:publishToList": {
195 "normalizer": "refname_shortid_normalizer"
199 "materials_common:materialCompositionGroupList": {
202 "materialCompositionFamilyName": {
204 "copy_to": "all_field",
208 "normalizer": "refname_displayname_normalizer"
212 "materialCompositionClassName": {
214 "copy_to": "all_field",
218 "normalizer": "refname_displayname_normalizer"
222 "materialCompositionGenericName": {
224 "copy_to": "all_field",
228 "normalizer": "refname_displayname_normalizer"
234 "materials_common:description": {
236 "analyzer" : "fulltext",
237 "copy_to": "all_field"
239 "materials_common:typicalUses": {
241 "copy_to": "all_field",
245 "normalizer": "refname_displayname_normalizer"
249 "materials_common:materialProductionOrganizationGroupList": {
252 "materialProductionOrganization": {
254 "copy_to": "all_field",
258 "normalizer": "refname_displayname_normalizer"
264 "materials_common:materialProductionPersonGroupList": {
267 "materialProductionPerson": {
269 "copy_to": "all_field",
273 "normalizer": "refname_displayname_normalizer"
279 "materials_common:materialProductionPlaceGroupList": {
282 "materialProductionPlace": {
284 "copy_to": "all_field",
288 "normalizer": "refname_displayname_normalizer"
294 "materials_common:featuredApplicationGroupList": {
297 "featuredApplication": {
299 "copy_to": "all_field",
303 "normalizer": "refname_displayname_normalizer"
309 "materials_common:commonForm": {
311 "copy_to": "all_field",
315 "normalizer": "refname_displayname_normalizer"
319 "materials_common:formTypeGroupList": {
324 "copy_to": "all_field",
328 "normalizer": "refname_displayname_normalizer"
335 "materials_common:acousticalPropertyGroupList": {
338 "acousticalPropertyType": {
340 "copy_to": "all_field",
344 "normalizer": "refname_displayname_normalizer"
350 "materials_common:durabilityPropertyGroupList": {
353 "durabilityPropertyType": {
355 "copy_to": "all_field",
359 "normalizer": "refname_displayname_normalizer"
365 "materials_common:electricalPropertyGroupList": {
368 "electricalPropertyType": {
370 "copy_to": "all_field",
374 "normalizer": "refname_displayname_normalizer"
380 "materials_common:hygrothermalPropertyGroupList": {
383 "hygrothermalPropertyType": {
385 "copy_to": "all_field",
389 "normalizer": "refname_displayname_normalizer"
395 "materials_common:mechanicalPropertyGroupList": {
398 "mechanicalPropertyType": {
400 "copy_to": "all_field",
404 "normalizer": "refname_displayname_normalizer"
410 "materials_common:opticalPropertyGroupList": {
413 "opticalPropertyType": {
415 "copy_to": "all_field",
419 "normalizer": "refname_displayname_normalizer"
425 "materials_common:sensorialPropertyGroupList": {
428 "sensorialPropertyType": {
430 "copy_to": "all_field",
434 "normalizer": "refname_displayname_normalizer"
440 "materials_common:smartMaterialPropertyGroupList": {
443 "smartMaterialPropertyType": {
445 "copy_to": "all_field",
449 "normalizer": "refname_displayname_normalizer"
455 "materials_common:additionalPropertyGroupList": {
458 "additionalPropertyType": {
460 "copy_to": "all_field",
464 "normalizer": "refname_displayname_normalizer"
471 "materials_common:recycledContentGroupList": {
474 "recycledContentQualifier": {
476 "copy_to": "all_field",
480 "normalizer": "refname_displayname_normalizer"
486 "materials_common:lifecycleComponentGroupList": {
489 "lifecycleComponent": {
491 "copy_to": "all_field",
495 "normalizer": "refname_displayname_normalizer"
501 // TODO: embodiedEnergy - range?
502 "materials_common:certificationCreditGroupList": {
505 "certificationProgram": {
507 "copy_to": "all_field",
511 "normalizer": "refname_displayname_normalizer"
518 "materials_common:castingProcesses": {
520 "copy_to": "all_field",
524 "normalizer": "refname_displayname_normalizer"
528 "materials_common:joiningProcesses": {
530 "copy_to": "all_field",
534 "normalizer": "refname_displayname_normalizer"
538 "materials_common:moldingProcesses": {
540 "copy_to": "all_field",
544 "normalizer": "refname_displayname_normalizer"
548 "materials_common:surfacingProcesses": {
550 "copy_to": "all_field",
554 "normalizer": "refname_displayname_normalizer"
558 "materials_common:deformingProcesses": {
560 "copy_to": "all_field",
564 "normalizer": "refname_displayname_normalizer"
568 "materials_common:machiningProcesses": {
570 "copy_to": "all_field",
574 "normalizer": "refname_displayname_normalizer"
578 "materials_common:rapidPrototypingProcesses": {
580 "copy_to": "all_field",
584 "normalizer": "refname_displayname_normalizer"
588 "materials_common:additionalProcessGroupList": {
591 "additionalProcess": {
593 "copy_to": "all_field",
597 "normalizer": "refname_displayname_normalizer"
604 "collectionobjects_common:objectNumber": {
606 "copy_to": "all_field"
608 "collectionobjects_common:publishToList": {
613 "normalizer": "refname_shortid_normalizer"
617 "collectionobjects_common:briefDescriptions": {
619 "copy_to": "all_field"
621 "collectionobjects_common:materialGroupList": {
626 "copy_to": "all_field",
630 "normalizer": "refname_displayname_normalizer"
634 "normalizer": "refname_shortid_normalizer"
640 "collectionobjects_common:objectHistoryNote": {
642 "copy_to": "all_field"
644 "collectionobjects_common:ownersContributionNote": {
646 "copy_to": "all_field"
648 "collectionobjects_common:viewersContributionNote": {
650 "copy_to": "all_field"
653 "media_materials:publishToList": {
658 "normalizer": "refname_shortid_normalizer"
665 </tenant:elasticSearchIndexConfig>
666 </tenant:tenantBinding>
667 </tenant:TenantBindingConfig>