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",
38 "materials_common:shortIdentifier",
39 "materials_common:publishToList",
40 "materials_common:externalUrlGroupList",
41 "materials_common:materialTermGroupList",
42 "materials_common:materialCompositionGroupList",
43 "materials_common:description",
44 "materials_common:typicalUses",
45 "materials_common:discontinued",
46 "materials_common:productionDate",
47 "materials_common:materialProductionOrganizationGroupList",
48 "materials_common:materialProductionPersonGroupList",
49 "materials_common:materialProductionPlaceGroupList",
50 "materials_common:productionNote",
51 "materials_common:additionalResourceGroupList",
52 "materials_common:featuredApplicationGroupList",
53 "materials_common:commonForm",
54 "materials_common:formTypeGroupList",
55 "materials_common:acousticalPropertyGroupList",
56 "materials_common:durabilityPropertyGroupList",
57 "materials_common:electricalPropertyGroupList",
58 "materials_common:hygrothermalPropertyGroupList",
59 "materials_common:mechanicalPropertyGroupList",
60 "materials_common:opticalPropertyGroupList",
61 "materials_common:sensorialPropertyGroupList",
62 "materials_common:smartMaterialPropertyGroupList",
63 "materials_common:additionalPropertyGroupList",
64 "materials_common:propertyNote",
65 "materials_common:recycledContentGroupList",
66 "materials_common:lifecycleComponentGroupList",
67 "materials_common:embodiedEnergyGroupList",
68 "materials_common:certificationCreditGroupList",
69 "materials_common:ecologyNote",
70 "materials_common:castingProcesses",
71 "materials_common:joiningProcesses",
72 "materials_common:moldingProcesses",
73 "materials_common:surfacingProcesses",
74 "materials_common:deformingProcesses",
75 "materials_common:machiningProcesses",
76 "materials_common:rapidPrototypingProcesses",
77 "materials_common:additionalProcessGroupList",
78 "materials_common:processNote",
79 "collectionobjects_common:objectNumber",
80 "collectionobjects_common:objectStatusList",
81 "collectionobjects_common:publishToList",
82 "collectionobjects_common:materialGroupList",
83 "collectionobjects_common:otherNumberList",
84 "collectionobjects_common:collection",
85 "collectionobjects_common:computedCurrentLocation",
86 "collectionobjects_materials:materialContainerGroupList",
87 "collectionobjects_materials:materialConditionGroupList",
88 "collectionobjects_materials:materialHandlingGroupList",
89 "collectionobjects_materials:materialPhysicalDescriptions",
90 "collectionobjects_common:colors",
91 "collectionobjects_materials:materialGenericColors",
92 "collectionobjects_materials:materialFinishGroupList",
93 "collectionobjects_common:numberOfObjects",
94 "collectionobjects_common:briefDescriptions",
95 "collectionobjects_common:measuredPartGroupList",
96 "media_common:blobCsid",
97 "media_materials:publishToList"
103 "analyzer": "fulltext"
106 "ecm:currentLifeCycleState": {
114 "analyzer" : "doctype_analyzer"
117 "collectionspace_denorm:title": {
120 "analyzer": "sorting_analyzer"
122 "collectionspace_denorm:commercialNames": {
124 "analyzer": "fulltext"
126 "collectionspace_denorm:commonNames": {
128 "analyzer": "fulltext"
130 "collectionspace_denorm:holdingInstitutions": {
132 "copy_to": "all_field",
137 "analyzer": "refname_displayname_analyzer"
142 "collectionspace_core:createdAt": {
144 // Sometimes the timestamp only has a two digit fractional second, instead of three.
145 // From imported data??
146 "format" : "date_time||yyyy-MM-dd'T'HH:mm:ss.SSZZ"
149 "materials_common:shortIdentifier": {
151 "copy_to": "all_field"
153 "materials_common:materialTermGroupList": {
158 "copy_to": "all_field"
162 "materials_common:publishToList": {
167 "analyzer": "refname_shortid_analyzer"
171 "materials_common:materialCompositionGroupList": {
174 "materialCompositionFamilyName": {
176 "copy_to": "all_field",
181 "analyzer": "refname_displayname_analyzer"
185 "materialCompositionClassName": {
187 "copy_to": "all_field",
192 "analyzer": "refname_displayname_analyzer"
196 "materialCompositionGenericName": {
198 "copy_to": "all_field",
203 "analyzer": "refname_displayname_analyzer"
209 "materials_common:description": {
211 "analyzer" : "fulltext",
212 "copy_to": "all_field"
214 "materials_common:typicalUses": {
216 "copy_to": "all_field",
221 "analyzer": "refname_displayname_analyzer"
225 "materials_common:materialProductionOrganizationGroupList": {
228 "materialProductionOrganization": {
230 "copy_to": "all_field",
234 "analyzer": "refname_displayname_fulltext_analyzer"
240 "materials_common:materialProductionPersonGroupList": {
243 "materialProductionPerson": {
245 "copy_to": "all_field",
249 "analyzer": "refname_displayname_fulltext_analyzer"
255 "materials_common:materialProductionPlaceGroupList": {
258 "materialProductionPlace": {
260 "copy_to": "all_field",
264 "analyzer": "refname_displayname_fulltext_analyzer"
270 "materials_common:featuredApplicationGroupList": {
273 "featuredApplication": {
275 "copy_to": "all_field",
280 "analyzer": "refname_displayname_analyzer"
286 "materials_common:commonForm": {
288 "copy_to": "all_field",
293 "analyzer": "refname_displayname_analyzer"
297 "materials_common:formTypeGroupList": {
302 "copy_to": "all_field",
307 "analyzer": "refname_displayname_analyzer"
314 "materials_common:acousticalPropertyGroupList": {
317 "acousticalPropertyType": {
319 "copy_to": "all_field",
324 "analyzer": "refname_displayname_analyzer"
330 "materials_common:durabilityPropertyGroupList": {
333 "durabilityPropertyType": {
335 "copy_to": "all_field",
340 "analyzer": "refname_displayname_analyzer"
346 "materials_common:electricalPropertyGroupList": {
349 "electricalPropertyType": {
351 "copy_to": "all_field",
356 "analyzer": "refname_displayname_analyzer"
362 "materials_common:hygrothermalPropertyGroupList": {
365 "hygrothermalPropertyType": {
367 "copy_to": "all_field",
372 "analyzer": "refname_displayname_analyzer"
378 "materials_common:mechanicalPropertyGroupList": {
381 "mechanicalPropertyType": {
383 "copy_to": "all_field",
388 "analyzer": "refname_displayname_analyzer"
394 "materials_common:opticalPropertyGroupList": {
397 "opticalPropertyType": {
399 "copy_to": "all_field",
404 "analyzer": "refname_displayname_analyzer"
410 "materials_common:sensorialPropertyGroupList": {
413 "sensorialPropertyType": {
415 "copy_to": "all_field",
420 "analyzer": "refname_displayname_analyzer"
426 "materials_common:smartMaterialPropertyGroupList": {
429 "smartMaterialPropertyType": {
431 "copy_to": "all_field",
436 "analyzer": "refname_displayname_analyzer"
442 "materials_common:additionalPropertyGroupList": {
445 "additionalPropertyType": {
447 "copy_to": "all_field",
452 "analyzer": "refname_displayname_analyzer"
459 "materials_common:recycledContentGroupList": {
462 "recycledContentQualifier": {
464 "copy_to": "all_field",
469 "analyzer": "refname_displayname_analyzer"
475 "materials_common:lifecycleComponentGroupList": {
478 "lifecycleComponent": {
480 "copy_to": "all_field",
485 "analyzer": "refname_displayname_analyzer"
491 // TODO: embodiedEnergy - range?
492 "materials_common:certificationCreditGroupList": {
495 "certificationProgram": {
497 "copy_to": "all_field",
502 "analyzer": "refname_displayname_analyzer"
509 "materials_common:castingProcesses": {
511 "copy_to": "all_field",
516 "analyzer": "refname_displayname_analyzer"
520 "materials_common:joiningProcesses": {
522 "copy_to": "all_field",
527 "analyzer": "refname_displayname_analyzer"
531 "materials_common:moldingProcesses": {
533 "copy_to": "all_field",
538 "analyzer": "refname_displayname_analyzer"
542 "materials_common:surfacingProcesses": {
544 "copy_to": "all_field",
549 "analyzer": "refname_displayname_analyzer"
553 "materials_common:deformingProcesses": {
555 "copy_to": "all_field",
560 "analyzer": "refname_displayname_analyzer"
564 "materials_common:machiningProcesses": {
566 "copy_to": "all_field",
571 "analyzer": "refname_displayname_analyzer"
575 "materials_common:rapidPrototypingProcesses": {
577 "copy_to": "all_field",
582 "analyzer": "refname_displayname_analyzer"
586 "materials_common:additionalProcessGroupList": {
589 "additionalProcess": {
591 "copy_to": "all_field",
596 "analyzer": "refname_displayname_analyzer"
603 "collectionobjects_common:objectNumber": {
605 "copy_to": "all_field"
607 "collectionobjects_common:publishToList": {
612 "analyzer": "refname_shortid_analyzer"
616 "collectionobjects_common:materialGroupList": {
621 "copy_to": "all_field",
626 "analyzer": "refname_displayname_analyzer"
630 "analyzer": "refname_shortid_analyzer"
637 "media_materials:publishToList": {
642 "analyzer": "refname_shortid_analyzer"
649 </tenant:elasticSearchIndexConfig>
650 </tenant:tenantBinding>
651 </tenant:TenantBindingConfig>