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:briefDescriptions",
93 "collectionobjects_common:measuredPartGroupList",
94 "collectionobjects_common:viewersContributionNote",
95 "media_common:blobCsid",
96 "media_materials:publishToList"
102 "analyzer": "fulltext"
105 "ecm:currentLifeCycleState": {
113 "analyzer" : "doctype_analyzer"
116 "collectionspace_denorm:title": {
118 "normalizer": "sorting_normalizer"
120 "collectionspace_denorm:commercialNames": {
122 "analyzer": "fulltext"
124 "collectionspace_denorm:commonNames": {
126 "analyzer": "fulltext"
128 "collectionspace_denorm:holdingInstitutions": {
130 "copy_to": "all_field",
134 "normalizer": "refname_displayname_normalizer"
138 "collectionspace_denorm:mediaAltText": {
140 "copy_to": "all_field"
142 "collectionspace_denorm:exhibition": {
147 "copy_to": "all_field"
151 "copy_to": "all_field"
155 "copy_to": "all_field"
160 "collectionspace_core:createdAt": {
162 // Sometimes the timestamp only has a two digit fractional second, instead of three.
163 // From imported data??
164 "format" : "date_time||yyyy-MM-dd'T'HH:mm:ss.SSZZ"
167 "materials_common:shortIdentifier": {
169 "copy_to": "all_field"
171 "materials_common:materialTermGroupList": {
176 "copy_to": "all_field"
180 "materials_common:featuredCollectionGroupList": {
183 "featuredCollection": {
185 "copy_to": "all_field"
189 "materials_common:publishToList": {
194 "normalizer": "refname_shortid_normalizer"
198 "materials_common:materialCompositionGroupList": {
201 "materialCompositionFamilyName": {
203 "copy_to": "all_field",
207 "normalizer": "refname_displayname_normalizer"
211 "materialCompositionClassName": {
213 "copy_to": "all_field",
217 "normalizer": "refname_displayname_normalizer"
221 "materialCompositionGenericName": {
223 "copy_to": "all_field",
227 "normalizer": "refname_displayname_normalizer"
233 "materials_common:description": {
235 "analyzer" : "fulltext",
236 "copy_to": "all_field"
238 "materials_common:typicalUses": {
240 "copy_to": "all_field",
244 "normalizer": "refname_displayname_normalizer"
248 "materials_common:materialProductionOrganizationGroupList": {
251 "materialProductionOrganization": {
253 "copy_to": "all_field",
257 "normalizer": "refname_displayname_normalizer"
263 "materials_common:materialProductionPersonGroupList": {
266 "materialProductionPerson": {
268 "copy_to": "all_field",
272 "normalizer": "refname_displayname_normalizer"
278 "materials_common:materialProductionPlaceGroupList": {
281 "materialProductionPlace": {
283 "copy_to": "all_field",
287 "normalizer": "refname_displayname_normalizer"
293 "materials_common:featuredApplicationGroupList": {
296 "featuredApplication": {
298 "copy_to": "all_field",
302 "normalizer": "refname_displayname_normalizer"
308 "materials_common:commonForm": {
310 "copy_to": "all_field",
314 "normalizer": "refname_displayname_normalizer"
318 "materials_common:formTypeGroupList": {
323 "copy_to": "all_field",
327 "normalizer": "refname_displayname_normalizer"
334 "materials_common:acousticalPropertyGroupList": {
337 "acousticalPropertyType": {
339 "copy_to": "all_field",
343 "normalizer": "refname_displayname_normalizer"
349 "materials_common:durabilityPropertyGroupList": {
352 "durabilityPropertyType": {
354 "copy_to": "all_field",
358 "normalizer": "refname_displayname_normalizer"
364 "materials_common:electricalPropertyGroupList": {
367 "electricalPropertyType": {
369 "copy_to": "all_field",
373 "normalizer": "refname_displayname_normalizer"
379 "materials_common:hygrothermalPropertyGroupList": {
382 "hygrothermalPropertyType": {
384 "copy_to": "all_field",
388 "normalizer": "refname_displayname_normalizer"
394 "materials_common:mechanicalPropertyGroupList": {
397 "mechanicalPropertyType": {
399 "copy_to": "all_field",
403 "normalizer": "refname_displayname_normalizer"
409 "materials_common:opticalPropertyGroupList": {
412 "opticalPropertyType": {
414 "copy_to": "all_field",
418 "normalizer": "refname_displayname_normalizer"
424 "materials_common:sensorialPropertyGroupList": {
427 "sensorialPropertyType": {
429 "copy_to": "all_field",
433 "normalizer": "refname_displayname_normalizer"
439 "materials_common:smartMaterialPropertyGroupList": {
442 "smartMaterialPropertyType": {
444 "copy_to": "all_field",
448 "normalizer": "refname_displayname_normalizer"
454 "materials_common:additionalPropertyGroupList": {
457 "additionalPropertyType": {
459 "copy_to": "all_field",
463 "normalizer": "refname_displayname_normalizer"
470 "materials_common:recycledContentGroupList": {
473 "recycledContentQualifier": {
475 "copy_to": "all_field",
479 "normalizer": "refname_displayname_normalizer"
485 "materials_common:lifecycleComponentGroupList": {
488 "lifecycleComponent": {
490 "copy_to": "all_field",
494 "normalizer": "refname_displayname_normalizer"
500 // TODO: embodiedEnergy - range?
501 "materials_common:certificationCreditGroupList": {
504 "certificationProgram": {
506 "copy_to": "all_field",
510 "normalizer": "refname_displayname_normalizer"
517 "materials_common:castingProcesses": {
519 "copy_to": "all_field",
523 "normalizer": "refname_displayname_normalizer"
527 "materials_common:joiningProcesses": {
529 "copy_to": "all_field",
533 "normalizer": "refname_displayname_normalizer"
537 "materials_common:moldingProcesses": {
539 "copy_to": "all_field",
543 "normalizer": "refname_displayname_normalizer"
547 "materials_common:surfacingProcesses": {
549 "copy_to": "all_field",
553 "normalizer": "refname_displayname_normalizer"
557 "materials_common:deformingProcesses": {
559 "copy_to": "all_field",
563 "normalizer": "refname_displayname_normalizer"
567 "materials_common:machiningProcesses": {
569 "copy_to": "all_field",
573 "normalizer": "refname_displayname_normalizer"
577 "materials_common:rapidPrototypingProcesses": {
579 "copy_to": "all_field",
583 "normalizer": "refname_displayname_normalizer"
587 "materials_common:additionalProcessGroupList": {
590 "additionalProcess": {
592 "copy_to": "all_field",
596 "normalizer": "refname_displayname_normalizer"
603 "collectionobjects_common:objectNumber": {
605 "copy_to": "all_field"
607 "collectionobjects_common:publishToList": {
612 "normalizer": "refname_shortid_normalizer"
616 "collectionobjects_common:briefDescriptions": {
618 "copy_to": "all_field"
620 "collectionobjects_common:materialGroupList": {
625 "copy_to": "all_field",
629 "normalizer": "refname_displayname_normalizer"
633 "normalizer": "refname_shortid_normalizer"
639 "collectionobjects_common:objectHistoryNote": {
641 "copy_to": "all_field"
643 "collectionobjects_common:ownersContributionNote": {
645 "copy_to": "all_field"
647 "collectionobjects_common:viewersContributionNote": {
649 "copy_to": "all_field"
652 "media_materials:publishToList": {
657 "normalizer": "refname_shortid_normalizer"
664 </tenant:elasticSearchIndexConfig>
665 </tenant:tenantBinding>
666 </tenant:TenantBindingConfig>