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:eventListenerConfigurations id="default" merge:matcher="id">
12 <tenant:eventListenerConfig id="ReindexSupport" merge:matcher="id">
13 <tenant:className>org.collectionspace.services.listener.ReindexSupport</tenant:className>
14 </tenant:eventListenerConfig>
15 </tenant:eventListenerConfigurations>
17 <tenant:serviceBindings id="Media" elasticsearchIndexed="true" merge:matcher="id" />
18 <tenant:serviceBindings id="CollectionObjects" elasticsearchIndexed="true" merge:matcher="id" />
19 <tenant:serviceBindings id="Materials" elasticsearchIndexed="true" merge:matcher="id" />
21 <tenant:elasticSearchIndexConfig>
24 // For now, don't index a field unless there's a mapping explicitly defined. This keeps the
25 // index as small as possible. We may want to turn this on in the future, to support arbitrary
26 // searches through Elasticsearch, e.g. NXQL queries for ad hoc reporting in the CSpace UI.
33 "collectionspace_denorm:*",
34 "collectionspace_core:*",
35 "ecm:currentLifeCycleState",
37 "materials_common:shortIdentifier",
38 "materials_common:publishToList",
39 "materials_common:externalUrlGroupList",
40 "materials_common:materialTermGroupList",
41 "materials_common:materialCompositionGroupList",
42 "materials_common:description",
43 "materials_common:typicalUses",
44 "materials_common:materialProductionOrganizationGroupList",
45 "materials_common:materialProductionPersonGroupList",
46 "materials_common:materialProductionPlaceGroupList",
47 "materials_common:productionNote",
48 "materials_common:additionalResourceGroupList",
49 "materials_common:featuredApplicationGroupList",
50 "materials_common:commonForm",
51 "materials_common:formTypeGroupList",
52 "materials_common:acousticalPropertyGroupList",
53 "materials_common:durabilityPropertyGroupList",
54 "materials_common:electricalPropertyGroupList",
55 "materials_common:hygrothermalPropertyGroupList",
56 "materials_common:mechanicalPropertyGroupList",
57 "materials_common:opticalPropertyGroupList",
58 "materials_common:sensorialPropertyGroupList",
59 "materials_common:smartMaterialPropertyGroupList",
60 "materials_common:additionalPropertyGroupList",
61 "materials_common:propertyNote",
62 "materials_common:recycledContentGroupList",
63 "materials_common:lifecycleComponentGroupList",
64 "materials_common:embodiedEnergyGroupList",
65 "materials_common:certificationCreditGroupList",
66 "materials_common:ecologyNote",
67 "materials_common:castingProcesses",
68 "materials_common:joiningProcesses",
69 "materials_common:moldingProcesses",
70 "materials_common:surfacingProcesses",
71 "materials_common:deformingProcesses",
72 "materials_common:machiningProcesses",
73 "materials_common:rapidPrototypingProcesses",
74 "materials_common:additionalProcessGroupList",
75 "materials_common:processNote",
76 "collectionobjects_common:objectNumber",
77 "collectionobjects_common:publishToList",
78 "collectionobjects_common:materialGroupList",
79 "collectionobjects_common:otherNumberList",
80 "collectionobjects_common:collection",
81 "collectionobjects_common:computedCurrentLocation",
82 "collectionobjects_materials:materialContainerGroupList",
83 "collectionobjects_materials:materialConditionGroupList",
84 "collectionobjects_materials:materialHandlingGroupList",
85 "collectionobjects_common:colors",
86 "collectionobjects_materials:materialGenericColors",
87 "collectionobjects_materials:materialFinishGroupList",
88 "collectionobjects_common:numberOfObjects",
89 "collectionobjects_common:briefDescriptions",
90 "collectionobjects_common:measuredPartGroupList",
91 "media_common:blobCsid",
92 "media_materials:publishToList"
98 "analyzer": "fulltext"
101 "ecm:currentLifeCycleState": {
109 "analyzer" : "doctype_analyzer"
112 "collectionspace_denorm:title": {
115 "analyzer": "sorting_analyzer"
117 "collectionspace_denorm:commercialNames": {
119 "analyzer": "fulltext"
121 "collectionspace_denorm:commonNames": {
123 "analyzer": "fulltext"
125 "collectionspace_denorm:holdingInstitutions": {
127 "copy_to": "all_field",
132 "analyzer": "refname_displayname_analyzer"
137 "collectionspace_core:createdAt": {
139 // Sometimes the timestamp only has a two digit fractional second, instead of three.
140 // From imported data??
141 "format" : "date_time||yyyy-MM-dd'T'HH:mm:ss.SSZZ"
144 "materials_common:shortIdentifier": {
146 "copy_to": "all_field"
148 "materials_common:materialTermGroupList": {
153 "copy_to": "all_field"
157 "materials_common:publishToList": {
162 "analyzer": "refname_shortid_analyzer"
166 "materials_common:materialCompositionGroupList": {
169 "materialCompositionFamilyName": {
171 "copy_to": "all_field",
176 "analyzer": "refname_displayname_analyzer"
180 "materialCompositionClassName": {
182 "copy_to": "all_field",
187 "analyzer": "refname_displayname_analyzer"
191 "materialCompositionGenericName": {
193 "copy_to": "all_field",
198 "analyzer": "refname_displayname_analyzer"
204 "materials_common:description": {
206 "analyzer" : "fulltext",
207 "copy_to": "all_field"
209 "materials_common:typicalUses": {
211 "copy_to": "all_field",
216 "analyzer": "refname_displayname_analyzer"
220 "materials_common:materialProductionOrganizationGroupList": {
223 "materialProductionOrganization": {
225 "copy_to": "all_field",
229 "analyzer": "refname_displayname_fulltext_analyzer"
235 "materials_common:materialProductionPersonGroupList": {
238 "materialProductionPerson": {
240 "copy_to": "all_field",
244 "analyzer": "refname_displayname_fulltext_analyzer"
250 "materials_common:materialProductionPlaceGroupList": {
253 "materialProductionPlace": {
255 "copy_to": "all_field",
259 "analyzer": "refname_displayname_fulltext_analyzer"
265 "materials_common:featuredApplicationGroupList": {
268 "featuredApplication": {
270 "copy_to": "all_field",
275 "analyzer": "refname_displayname_analyzer"
281 "materials_common:commonForm": {
283 "copy_to": "all_field",
288 "analyzer": "refname_displayname_analyzer"
292 "materials_common:formTypeGroupList": {
297 "copy_to": "all_field",
302 "analyzer": "refname_displayname_analyzer"
309 "materials_common:acousticalPropertyGroupList": {
312 "acousticalPropertyType": {
314 "copy_to": "all_field",
319 "analyzer": "refname_displayname_analyzer"
325 "materials_common:durabilityPropertyGroupList": {
328 "durabilityPropertyType": {
330 "copy_to": "all_field",
335 "analyzer": "refname_displayname_analyzer"
341 "materials_common:electricalPropertyGroupList": {
344 "electricalPropertyType": {
346 "copy_to": "all_field",
351 "analyzer": "refname_displayname_analyzer"
357 "materials_common:hygrothermalPropertyGroupList": {
360 "hygrothermalPropertyType": {
362 "copy_to": "all_field",
367 "analyzer": "refname_displayname_analyzer"
373 "materials_common:mechanicalPropertyGroupList": {
376 "mechanicalPropertyType": {
378 "copy_to": "all_field",
383 "analyzer": "refname_displayname_analyzer"
389 "materials_common:opticalPropertyGroupList": {
392 "opticalPropertyType": {
394 "copy_to": "all_field",
399 "analyzer": "refname_displayname_analyzer"
405 "materials_common:sensorialPropertyGroupList": {
408 "sensorialPropertyType": {
410 "copy_to": "all_field",
415 "analyzer": "refname_displayname_analyzer"
421 "materials_common:smartMaterialPropertyGroupList": {
424 "smartMaterialPropertyType": {
426 "copy_to": "all_field",
431 "analyzer": "refname_displayname_analyzer"
437 "materials_common:additionalPropertyGroupList": {
440 "additionalPropertyType": {
442 "copy_to": "all_field",
447 "analyzer": "refname_displayname_analyzer"
454 "materials_common:recycledContentGroupList": {
457 "recycledContentQualifier": {
459 "copy_to": "all_field",
464 "analyzer": "refname_displayname_analyzer"
470 "materials_common:lifecycleComponentGroupList": {
473 "lifecycleComponent": {
475 "copy_to": "all_field",
480 "analyzer": "refname_displayname_analyzer"
486 // TODO: embodiedEnergy - range?
487 "materials_common:certificationCreditGroupList": {
490 "certificationProgram": {
492 "copy_to": "all_field",
497 "analyzer": "refname_displayname_analyzer"
504 "materials_common:castingProcesses": {
506 "copy_to": "all_field",
511 "analyzer": "refname_displayname_analyzer"
515 "materials_common:joiningProcesses": {
517 "copy_to": "all_field",
522 "analyzer": "refname_displayname_analyzer"
526 "materials_common:moldingProcesses": {
528 "copy_to": "all_field",
533 "analyzer": "refname_displayname_analyzer"
537 "materials_common:surfacingProcesses": {
539 "copy_to": "all_field",
544 "analyzer": "refname_displayname_analyzer"
548 "materials_common:deformingProcesses": {
550 "copy_to": "all_field",
555 "analyzer": "refname_displayname_analyzer"
559 "materials_common:machiningProcesses": {
561 "copy_to": "all_field",
566 "analyzer": "refname_displayname_analyzer"
570 "materials_common:rapidPrototypingProcesses": {
572 "copy_to": "all_field",
577 "analyzer": "refname_displayname_analyzer"
581 "materials_common:additionalProcessGroupList": {
584 "additionalProcess": {
586 "copy_to": "all_field",
591 "analyzer": "refname_displayname_analyzer"
598 "collectionobjects_common:objectNumber": {
600 "copy_to": "all_field"
602 "collectionobjects_common:publishToList": {
607 "analyzer": "refname_shortid_analyzer"
611 "collectionobjects_common:materialGroupList": {
616 "copy_to": "all_field",
621 "analyzer": "refname_displayname_analyzer"
625 "analyzer": "refname_shortid_analyzer"
632 "media_materials:publishToList": {
637 "analyzer": "refname_shortid_analyzer"
644 </tenant:elasticSearchIndexConfig>
645 </tenant:tenantBinding>
646 </tenant:TenantBindingConfig>