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:materialProductionOrganizationGroupList",
46 "materials_common:materialProductionPersonGroupList",
47 "materials_common:materialProductionPlaceGroupList",
48 "materials_common:productionNote",
49 "materials_common:additionalResourceGroupList",
50 "materials_common:featuredApplicationGroupList",
51 "materials_common:commonForm",
52 "materials_common:formTypeGroupList",
53 "materials_common:acousticalPropertyGroupList",
54 "materials_common:durabilityPropertyGroupList",
55 "materials_common:electricalPropertyGroupList",
56 "materials_common:hygrothermalPropertyGroupList",
57 "materials_common:mechanicalPropertyGroupList",
58 "materials_common:opticalPropertyGroupList",
59 "materials_common:sensorialPropertyGroupList",
60 "materials_common:smartMaterialPropertyGroupList",
61 "materials_common:additionalPropertyGroupList",
62 "materials_common:propertyNote",
63 "materials_common:recycledContentGroupList",
64 "materials_common:lifecycleComponentGroupList",
65 "materials_common:embodiedEnergyGroupList",
66 "materials_common:certificationCreditGroupList",
67 "materials_common:ecologyNote",
68 "materials_common:castingProcesses",
69 "materials_common:joiningProcesses",
70 "materials_common:moldingProcesses",
71 "materials_common:surfacingProcesses",
72 "materials_common:deformingProcesses",
73 "materials_common:machiningProcesses",
74 "materials_common:rapidPrototypingProcesses",
75 "materials_common:additionalProcessGroupList",
76 "materials_common:processNote",
77 "collectionobjects_common:objectNumber",
78 "collectionobjects_common:publishToList",
79 "collectionobjects_common:materialGroupList",
80 "collectionobjects_common:otherNumberList",
81 "collectionobjects_common:collection",
82 "collectionobjects_common:computedCurrentLocation",
83 "collectionobjects_materials:materialContainerGroupList",
84 "collectionobjects_materials:materialConditionGroupList",
85 "collectionobjects_materials:materialHandlingGroupList",
86 "collectionobjects_materials:materialPhysicalDescriptions",
87 "collectionobjects_common:colors",
88 "collectionobjects_materials:materialGenericColors",
89 "collectionobjects_materials:materialFinishGroupList",
90 "collectionobjects_common:numberOfObjects",
91 "collectionobjects_common:briefDescriptions",
92 "collectionobjects_common:measuredPartGroupList",
93 "media_common:blobCsid",
94 "media_materials:publishToList"
100 "analyzer": "fulltext"
103 "ecm:currentLifeCycleState": {
111 "analyzer" : "doctype_analyzer"
114 "collectionspace_denorm:title": {
117 "analyzer": "sorting_analyzer"
119 "collectionspace_denorm:commercialNames": {
121 "analyzer": "fulltext"
123 "collectionspace_denorm:commonNames": {
125 "analyzer": "fulltext"
127 "collectionspace_denorm:holdingInstitutions": {
129 "copy_to": "all_field",
134 "analyzer": "refname_displayname_analyzer"
139 "collectionspace_core:createdAt": {
141 // Sometimes the timestamp only has a two digit fractional second, instead of three.
142 // From imported data??
143 "format" : "date_time||yyyy-MM-dd'T'HH:mm:ss.SSZZ"
146 "materials_common:shortIdentifier": {
148 "copy_to": "all_field"
150 "materials_common:materialTermGroupList": {
155 "copy_to": "all_field"
159 "materials_common:publishToList": {
164 "analyzer": "refname_shortid_analyzer"
168 "materials_common:materialCompositionGroupList": {
171 "materialCompositionFamilyName": {
173 "copy_to": "all_field",
178 "analyzer": "refname_displayname_analyzer"
182 "materialCompositionClassName": {
184 "copy_to": "all_field",
189 "analyzer": "refname_displayname_analyzer"
193 "materialCompositionGenericName": {
195 "copy_to": "all_field",
200 "analyzer": "refname_displayname_analyzer"
206 "materials_common:description": {
208 "analyzer" : "fulltext",
209 "copy_to": "all_field"
211 "materials_common:typicalUses": {
213 "copy_to": "all_field",
218 "analyzer": "refname_displayname_analyzer"
222 "materials_common:materialProductionOrganizationGroupList": {
225 "materialProductionOrganization": {
227 "copy_to": "all_field",
231 "analyzer": "refname_displayname_fulltext_analyzer"
237 "materials_common:materialProductionPersonGroupList": {
240 "materialProductionPerson": {
242 "copy_to": "all_field",
246 "analyzer": "refname_displayname_fulltext_analyzer"
252 "materials_common:materialProductionPlaceGroupList": {
255 "materialProductionPlace": {
257 "copy_to": "all_field",
261 "analyzer": "refname_displayname_fulltext_analyzer"
267 "materials_common:featuredApplicationGroupList": {
270 "featuredApplication": {
272 "copy_to": "all_field",
277 "analyzer": "refname_displayname_analyzer"
283 "materials_common:commonForm": {
285 "copy_to": "all_field",
290 "analyzer": "refname_displayname_analyzer"
294 "materials_common:formTypeGroupList": {
299 "copy_to": "all_field",
304 "analyzer": "refname_displayname_analyzer"
311 "materials_common:acousticalPropertyGroupList": {
314 "acousticalPropertyType": {
316 "copy_to": "all_field",
321 "analyzer": "refname_displayname_analyzer"
327 "materials_common:durabilityPropertyGroupList": {
330 "durabilityPropertyType": {
332 "copy_to": "all_field",
337 "analyzer": "refname_displayname_analyzer"
343 "materials_common:electricalPropertyGroupList": {
346 "electricalPropertyType": {
348 "copy_to": "all_field",
353 "analyzer": "refname_displayname_analyzer"
359 "materials_common:hygrothermalPropertyGroupList": {
362 "hygrothermalPropertyType": {
364 "copy_to": "all_field",
369 "analyzer": "refname_displayname_analyzer"
375 "materials_common:mechanicalPropertyGroupList": {
378 "mechanicalPropertyType": {
380 "copy_to": "all_field",
385 "analyzer": "refname_displayname_analyzer"
391 "materials_common:opticalPropertyGroupList": {
394 "opticalPropertyType": {
396 "copy_to": "all_field",
401 "analyzer": "refname_displayname_analyzer"
407 "materials_common:sensorialPropertyGroupList": {
410 "sensorialPropertyType": {
412 "copy_to": "all_field",
417 "analyzer": "refname_displayname_analyzer"
423 "materials_common:smartMaterialPropertyGroupList": {
426 "smartMaterialPropertyType": {
428 "copy_to": "all_field",
433 "analyzer": "refname_displayname_analyzer"
439 "materials_common:additionalPropertyGroupList": {
442 "additionalPropertyType": {
444 "copy_to": "all_field",
449 "analyzer": "refname_displayname_analyzer"
456 "materials_common:recycledContentGroupList": {
459 "recycledContentQualifier": {
461 "copy_to": "all_field",
466 "analyzer": "refname_displayname_analyzer"
472 "materials_common:lifecycleComponentGroupList": {
475 "lifecycleComponent": {
477 "copy_to": "all_field",
482 "analyzer": "refname_displayname_analyzer"
488 // TODO: embodiedEnergy - range?
489 "materials_common:certificationCreditGroupList": {
492 "certificationProgram": {
494 "copy_to": "all_field",
499 "analyzer": "refname_displayname_analyzer"
506 "materials_common:castingProcesses": {
508 "copy_to": "all_field",
513 "analyzer": "refname_displayname_analyzer"
517 "materials_common:joiningProcesses": {
519 "copy_to": "all_field",
524 "analyzer": "refname_displayname_analyzer"
528 "materials_common:moldingProcesses": {
530 "copy_to": "all_field",
535 "analyzer": "refname_displayname_analyzer"
539 "materials_common:surfacingProcesses": {
541 "copy_to": "all_field",
546 "analyzer": "refname_displayname_analyzer"
550 "materials_common:deformingProcesses": {
552 "copy_to": "all_field",
557 "analyzer": "refname_displayname_analyzer"
561 "materials_common:machiningProcesses": {
563 "copy_to": "all_field",
568 "analyzer": "refname_displayname_analyzer"
572 "materials_common:rapidPrototypingProcesses": {
574 "copy_to": "all_field",
579 "analyzer": "refname_displayname_analyzer"
583 "materials_common:additionalProcessGroupList": {
586 "additionalProcess": {
588 "copy_to": "all_field",
593 "analyzer": "refname_displayname_analyzer"
600 "collectionobjects_common:objectNumber": {
602 "copy_to": "all_field"
604 "collectionobjects_common:publishToList": {
609 "analyzer": "refname_shortid_analyzer"
613 "collectionobjects_common:materialGroupList": {
618 "copy_to": "all_field",
623 "analyzer": "refname_displayname_analyzer"
627 "analyzer": "refname_shortid_analyzer"
634 "media_materials:publishToList": {
639 "analyzer": "refname_shortid_analyzer"
646 </tenant:elasticSearchIndexConfig>
647 </tenant:tenantBinding>
648 </tenant:TenantBindingConfig>