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_common:colors",
87 "collectionobjects_materials:materialGenericColors",
88 "collectionobjects_materials:materialFinishGroupList",
89 "collectionobjects_common:numberOfObjects",
90 "collectionobjects_common:briefDescriptions",
91 "collectionobjects_common:measuredPartGroupList",
92 "media_common:blobCsid",
93 "media_materials:publishToList"
99 "analyzer": "fulltext"
102 "ecm:currentLifeCycleState": {
110 "analyzer" : "doctype_analyzer"
113 "collectionspace_denorm:title": {
116 "analyzer": "sorting_analyzer"
118 "collectionspace_denorm:commercialNames": {
120 "analyzer": "fulltext"
122 "collectionspace_denorm:commonNames": {
124 "analyzer": "fulltext"
126 "collectionspace_denorm:holdingInstitutions": {
128 "copy_to": "all_field",
133 "analyzer": "refname_displayname_analyzer"
138 "collectionspace_core:createdAt": {
140 // Sometimes the timestamp only has a two digit fractional second, instead of three.
141 // From imported data??
142 "format" : "date_time||yyyy-MM-dd'T'HH:mm:ss.SSZZ"
145 "materials_common:shortIdentifier": {
147 "copy_to": "all_field"
149 "materials_common:materialTermGroupList": {
154 "copy_to": "all_field"
158 "materials_common:publishToList": {
163 "analyzer": "refname_shortid_analyzer"
167 "materials_common:materialCompositionGroupList": {
170 "materialCompositionFamilyName": {
172 "copy_to": "all_field",
177 "analyzer": "refname_displayname_analyzer"
181 "materialCompositionClassName": {
183 "copy_to": "all_field",
188 "analyzer": "refname_displayname_analyzer"
192 "materialCompositionGenericName": {
194 "copy_to": "all_field",
199 "analyzer": "refname_displayname_analyzer"
205 "materials_common:description": {
207 "analyzer" : "fulltext",
208 "copy_to": "all_field"
210 "materials_common:typicalUses": {
212 "copy_to": "all_field",
217 "analyzer": "refname_displayname_analyzer"
221 "materials_common:materialProductionOrganizationGroupList": {
224 "materialProductionOrganization": {
226 "copy_to": "all_field",
230 "analyzer": "refname_displayname_fulltext_analyzer"
236 "materials_common:materialProductionPersonGroupList": {
239 "materialProductionPerson": {
241 "copy_to": "all_field",
245 "analyzer": "refname_displayname_fulltext_analyzer"
251 "materials_common:materialProductionPlaceGroupList": {
254 "materialProductionPlace": {
256 "copy_to": "all_field",
260 "analyzer": "refname_displayname_fulltext_analyzer"
266 "materials_common:featuredApplicationGroupList": {
269 "featuredApplication": {
271 "copy_to": "all_field",
276 "analyzer": "refname_displayname_analyzer"
282 "materials_common:commonForm": {
284 "copy_to": "all_field",
289 "analyzer": "refname_displayname_analyzer"
293 "materials_common:formTypeGroupList": {
298 "copy_to": "all_field",
303 "analyzer": "refname_displayname_analyzer"
310 "materials_common:acousticalPropertyGroupList": {
313 "acousticalPropertyType": {
315 "copy_to": "all_field",
320 "analyzer": "refname_displayname_analyzer"
326 "materials_common:durabilityPropertyGroupList": {
329 "durabilityPropertyType": {
331 "copy_to": "all_field",
336 "analyzer": "refname_displayname_analyzer"
342 "materials_common:electricalPropertyGroupList": {
345 "electricalPropertyType": {
347 "copy_to": "all_field",
352 "analyzer": "refname_displayname_analyzer"
358 "materials_common:hygrothermalPropertyGroupList": {
361 "hygrothermalPropertyType": {
363 "copy_to": "all_field",
368 "analyzer": "refname_displayname_analyzer"
374 "materials_common:mechanicalPropertyGroupList": {
377 "mechanicalPropertyType": {
379 "copy_to": "all_field",
384 "analyzer": "refname_displayname_analyzer"
390 "materials_common:opticalPropertyGroupList": {
393 "opticalPropertyType": {
395 "copy_to": "all_field",
400 "analyzer": "refname_displayname_analyzer"
406 "materials_common:sensorialPropertyGroupList": {
409 "sensorialPropertyType": {
411 "copy_to": "all_field",
416 "analyzer": "refname_displayname_analyzer"
422 "materials_common:smartMaterialPropertyGroupList": {
425 "smartMaterialPropertyType": {
427 "copy_to": "all_field",
432 "analyzer": "refname_displayname_analyzer"
438 "materials_common:additionalPropertyGroupList": {
441 "additionalPropertyType": {
443 "copy_to": "all_field",
448 "analyzer": "refname_displayname_analyzer"
455 "materials_common:recycledContentGroupList": {
458 "recycledContentQualifier": {
460 "copy_to": "all_field",
465 "analyzer": "refname_displayname_analyzer"
471 "materials_common:lifecycleComponentGroupList": {
474 "lifecycleComponent": {
476 "copy_to": "all_field",
481 "analyzer": "refname_displayname_analyzer"
487 // TODO: embodiedEnergy - range?
488 "materials_common:certificationCreditGroupList": {
491 "certificationProgram": {
493 "copy_to": "all_field",
498 "analyzer": "refname_displayname_analyzer"
505 "materials_common:castingProcesses": {
507 "copy_to": "all_field",
512 "analyzer": "refname_displayname_analyzer"
516 "materials_common:joiningProcesses": {
518 "copy_to": "all_field",
523 "analyzer": "refname_displayname_analyzer"
527 "materials_common:moldingProcesses": {
529 "copy_to": "all_field",
534 "analyzer": "refname_displayname_analyzer"
538 "materials_common:surfacingProcesses": {
540 "copy_to": "all_field",
545 "analyzer": "refname_displayname_analyzer"
549 "materials_common:deformingProcesses": {
551 "copy_to": "all_field",
556 "analyzer": "refname_displayname_analyzer"
560 "materials_common:machiningProcesses": {
562 "copy_to": "all_field",
567 "analyzer": "refname_displayname_analyzer"
571 "materials_common:rapidPrototypingProcesses": {
573 "copy_to": "all_field",
578 "analyzer": "refname_displayname_analyzer"
582 "materials_common:additionalProcessGroupList": {
585 "additionalProcess": {
587 "copy_to": "all_field",
592 "analyzer": "refname_displayname_analyzer"
599 "collectionobjects_common:objectNumber": {
601 "copy_to": "all_field"
603 "collectionobjects_common:publishToList": {
608 "analyzer": "refname_shortid_analyzer"
612 "collectionobjects_common:materialGroupList": {
617 "copy_to": "all_field",
622 "analyzer": "refname_displayname_analyzer"
626 "analyzer": "refname_shortid_analyzer"
633 "media_materials:publishToList": {
638 "analyzer": "refname_shortid_analyzer"
645 </tenant:elasticSearchIndexConfig>
646 </tenant:tenantBinding>
647 </tenant:TenantBindingConfig>