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": {
114 "analyzer": "sorting_analyzer"
116 "collectionspace_denorm:commercialNames": {
118 "analyzer": "fulltext"
120 "collectionspace_denorm:commonNames": {
122 "analyzer": "fulltext"
124 "collectionspace_denorm:holdingInstitutions": {
126 "copy_to": "all_field",
130 "analyzer": "refname_displayname_analyzer"
135 "collectionspace_core:createdAt": {
137 // Sometimes the timestamp only has a two digit fractional second, instead of three.
138 // From imported data??
139 "format" : "date_time||yyyy-MM-dd'T'HH:mm:ss.SSZZ"
142 "materials_common:shortIdentifier": {
144 "copy_to": "all_field"
146 "materials_common:materialTermGroupList": {
151 "copy_to": "all_field"
155 "materials_common:publishToList": {
160 "analyzer": "refname_shortid_analyzer"
164 "materials_common:materialCompositionGroupList": {
167 "materialCompositionFamilyName": {
169 "copy_to": "all_field",
173 "analyzer": "refname_displayname_analyzer"
177 "materialCompositionClassName": {
179 "copy_to": "all_field",
183 "analyzer": "refname_displayname_analyzer"
187 "materialCompositionGenericName": {
189 "copy_to": "all_field",
193 "analyzer": "refname_displayname_analyzer"
199 "materials_common:description": {
201 "analyzer" : "fulltext",
202 "copy_to": "all_field"
204 "materials_common:typicalUses": {
206 "copy_to": "all_field",
210 "analyzer": "refname_displayname_analyzer"
214 "materials_common:materialProductionOrganizationGroupList": {
217 "materialProductionOrganization": {
219 "copy_to": "all_field",
223 "analyzer": "refname_displayname_fulltext_analyzer"
229 "materials_common:materialProductionPersonGroupList": {
232 "materialProductionPerson": {
234 "copy_to": "all_field",
238 "analyzer": "refname_displayname_fulltext_analyzer"
244 "materials_common:materialProductionPlaceGroupList": {
247 "materialProductionPlace": {
249 "copy_to": "all_field",
253 "analyzer": "refname_displayname_fulltext_analyzer"
259 "materials_common:featuredApplicationGroupList": {
262 "featuredApplication": {
264 "copy_to": "all_field",
268 "analyzer": "refname_displayname_analyzer"
274 "materials_common:commonForm": {
276 "copy_to": "all_field",
280 "analyzer": "refname_displayname_analyzer"
284 "materials_common:formTypeGroupList": {
289 "copy_to": "all_field",
293 "analyzer": "refname_displayname_analyzer"
300 "materials_common:acousticalPropertyGroupList": {
303 "acousticalPropertyType": {
305 "copy_to": "all_field",
309 "analyzer": "refname_displayname_analyzer"
315 "materials_common:durabilityPropertyGroupList": {
318 "durabilityPropertyType": {
320 "copy_to": "all_field",
324 "analyzer": "refname_displayname_analyzer"
330 "materials_common:electricalPropertyGroupList": {
333 "electricalPropertyType": {
335 "copy_to": "all_field",
339 "analyzer": "refname_displayname_analyzer"
345 "materials_common:hygrothermalPropertyGroupList": {
348 "hygrothermalPropertyType": {
350 "copy_to": "all_field",
354 "analyzer": "refname_displayname_analyzer"
360 "materials_common:mechanicalPropertyGroupList": {
363 "mechanicalPropertyType": {
365 "copy_to": "all_field",
369 "analyzer": "refname_displayname_analyzer"
375 "materials_common:opticalPropertyGroupList": {
378 "opticalPropertyType": {
380 "copy_to": "all_field",
384 "analyzer": "refname_displayname_analyzer"
390 "materials_common:sensorialPropertyGroupList": {
393 "sensorialPropertyType": {
395 "copy_to": "all_field",
399 "analyzer": "refname_displayname_analyzer"
405 "materials_common:smartMaterialPropertyGroupList": {
408 "smartMaterialPropertyType": {
410 "copy_to": "all_field",
414 "analyzer": "refname_displayname_analyzer"
420 "materials_common:additionalPropertyGroupList": {
423 "additionalPropertyType": {
425 "copy_to": "all_field",
429 "analyzer": "refname_displayname_analyzer"
436 "materials_common:recycledContentGroupList": {
439 "recycledContentQualifier": {
441 "copy_to": "all_field",
445 "analyzer": "refname_displayname_analyzer"
451 "materials_common:lifecycleComponentGroupList": {
454 "lifecycleComponent": {
456 "copy_to": "all_field",
460 "analyzer": "refname_displayname_analyzer"
466 // TODO: embodiedEnergy - range?
467 "materials_common:certificationCreditGroupList": {
470 "certificationProgram": {
472 "copy_to": "all_field",
476 "analyzer": "refname_displayname_analyzer"
483 "materials_common:castingProcesses": {
485 "copy_to": "all_field",
489 "analyzer": "refname_displayname_analyzer"
493 "materials_common:joiningProcesses": {
495 "copy_to": "all_field",
499 "analyzer": "refname_displayname_analyzer"
503 "materials_common:moldingProcesses": {
505 "copy_to": "all_field",
509 "analyzer": "refname_displayname_analyzer"
513 "materials_common:surfacingProcesses": {
515 "copy_to": "all_field",
519 "analyzer": "refname_displayname_analyzer"
523 "materials_common:deformingProcesses": {
525 "copy_to": "all_field",
529 "analyzer": "refname_displayname_analyzer"
533 "materials_common:machiningProcesses": {
535 "copy_to": "all_field",
539 "analyzer": "refname_displayname_analyzer"
543 "materials_common:rapidPrototypingProcesses": {
545 "copy_to": "all_field",
549 "analyzer": "refname_displayname_analyzer"
553 "materials_common:additionalProcessGroupList": {
556 "additionalProcess": {
558 "copy_to": "all_field",
562 "analyzer": "refname_displayname_analyzer"
569 "collectionobjects_common:objectNumber": {
571 "copy_to": "all_field"
573 "collectionobjects_common:publishToList": {
578 "analyzer": "refname_shortid_analyzer"
582 "collectionobjects_common:materialGroupList": {
587 "copy_to": "all_field",
591 "analyzer": "refname_displayname_analyzer"
598 "media_materials:publishToList": {
603 "analyzer": "refname_shortid_analyzer"
610 </tenant:elasticSearchIndexConfig>
611 </tenant:tenantBinding>
612 </tenant:TenantBindingConfig>