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.
32 "analyzer" : "fulltext"
36 "collectionspace_denorm:*",
37 "collectionspace_core:*",
38 "ecm:currentLifeCycleState",
40 "materials_common:shortIdentifier",
41 "materials_common:publishToList",
42 "materials_common:externalUrlGroupList",
43 "materials_common:materialTermGroupList",
44 "materials_common:materialCompositionGroupList",
45 "materials_common:description",
46 "materials_common:typicalUses",
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:publishToList",
81 "collectionobjects_common:materialGroupList",
82 "collectionobjects_common:otherNumberList",
83 "collectionobjects_common:collection",
84 "collectionobjects_common:computedCurrentLocation",
85 "collectionobjects_materials:materialContainerGroupList",
86 "collectionobjects_materials:materialConditionGroupList",
87 "collectionobjects_materials:materialHandlingGroupList",
88 "collectionobjects_common:colors",
89 "collectionobjects_materials:materialGenericColors",
90 "collectionobjects_materials:materialFinishGroupList",
91 "collectionobjects_common:numberOfObjects",
92 "collectionobjects_common:briefDescriptions",
93 "collectionobjects_common:measuredPartGroupList",
94 "media_common:blobCsid",
95 "media_materials:publishToList"
99 "ecm:currentLifeCycleState": {
101 "include_in_all": "false"
105 "include_in_all": "false"
109 "analyzer" : "doctype_analyzer",
110 "include_in_all": "false"
113 "collectionspace_denorm:title": {
115 "analyzer" : "sorting_analyzer",
116 "include_in_all": "false"
118 "collectionspace_denorm:commercialNames": {
120 "analyzer" : "fulltext",
121 "include_in_all": "false"
123 "collectionspace_denorm:commonNames": {
125 "analyzer" : "fulltext",
126 "include_in_all": "false"
129 "collectionspace_core:createdAt": {
131 // Sometimes the timestamp only has a two digit fractional second, instead of three.
132 // From imported data??
133 "format" : "date_time||yyyy-MM-dd'T'HH:mm:ss.SSZZ",
134 "include_in_all": "false"
137 "materials_common:shortIdentifier": {
140 "materials_common:materialTermGroupList": {
148 "materials_common:publishToList": {
150 "include_in_all": "false",
154 "analyzer": "refname_shortid_analyzer"
158 "materials_common:materialCompositionGroupList": {
161 "materialCompositionFamilyName": {
166 "analyzer": "refname_displayname_analyzer"
170 "materialCompositionClassName": {
175 "analyzer": "refname_displayname_analyzer"
179 "materialCompositionGenericName": {
184 "analyzer": "refname_displayname_analyzer"
190 "materials_common:description": {
192 "analyzer" : "fulltext"
194 "materials_common:typicalUses": {
199 "analyzer": "refname_displayname_analyzer"
203 "materials_common:materialProductionOrganizationGroupList": {
206 "materialProductionOrganization": {
211 "analyzer": "refname_displayname_fulltext_analyzer"
217 "materials_common:materialProductionPersonGroupList": {
220 "materialProductionPerson": {
225 "analyzer": "refname_displayname_fulltext_analyzer"
231 "materials_common:materialProductionPlaceGroupList": {
234 "materialProductionPlace": {
239 "analyzer": "refname_displayname_fulltext_analyzer"
245 "materials_common:featuredApplicationGroupList": {
248 "featuredApplication": {
253 "analyzer": "refname_displayname_analyzer"
259 "materials_common:commonForm": {
264 "analyzer": "refname_displayname_analyzer"
268 "materials_common:formTypeGroupList": {
276 "analyzer": "refname_displayname_analyzer"
283 "materials_common:acousticalPropertyGroupList": {
286 "acousticalPropertyType": {
291 "analyzer": "refname_displayname_analyzer"
297 "materials_common:durabilityPropertyGroupList": {
300 "durabilityPropertyType": {
305 "analyzer": "refname_displayname_analyzer"
311 "materials_common:electricalPropertyGroupList": {
314 "electricalPropertyType": {
319 "analyzer": "refname_displayname_analyzer"
325 "materials_common:hygrothermalPropertyGroupList": {
328 "hygrothermalPropertyType": {
333 "analyzer": "refname_displayname_analyzer"
339 "materials_common:mechanicalPropertyGroupList": {
342 "mechanicalPropertyType": {
347 "analyzer": "refname_displayname_analyzer"
353 "materials_common:opticalPropertyGroupList": {
356 "opticalPropertyType": {
361 "analyzer": "refname_displayname_analyzer"
367 "materials_common:sensorialPropertyGroupList": {
370 "sensorialPropertyType": {
375 "analyzer": "refname_displayname_analyzer"
381 "materials_common:smartMaterialPropertyGroupList": {
384 "smartMaterialPropertyType": {
389 "analyzer": "refname_displayname_analyzer"
395 "materials_common:additionalPropertyGroupList": {
398 "additionalPropertyType": {
403 "analyzer": "refname_displayname_analyzer"
410 "materials_common:recycledContentGroupList": {
413 "recycledContentQualifier": {
418 "analyzer": "refname_displayname_analyzer"
424 "materials_common:lifecycleComponentGroupList": {
427 "lifecycleComponent": {
432 "analyzer": "refname_displayname_analyzer"
438 // TODO: embodiedEnergy - range?
439 "materials_common:certificationCreditGroupList": {
442 "certificationProgram": {
447 "analyzer": "refname_displayname_analyzer"
454 "materials_common:castingProcesses": {
459 "analyzer": "refname_displayname_analyzer"
463 "materials_common:joiningProcesses": {
468 "analyzer": "refname_displayname_analyzer"
472 "materials_common:moldingProcesses": {
477 "analyzer": "refname_displayname_analyzer"
481 "materials_common:surfacingProcesses": {
486 "analyzer": "refname_displayname_analyzer"
490 "materials_common:deformingProcesses": {
495 "analyzer": "refname_displayname_analyzer"
499 "materials_common:machiningProcesses": {
504 "analyzer": "refname_displayname_analyzer"
508 "materials_common:rapidPrototypingProcesses": {
513 "analyzer": "refname_displayname_analyzer"
517 "materials_common:additionalProcessGroupList": {
520 "additionalProcess": {
525 "analyzer": "refname_displayname_analyzer"
532 "collectionobjects_common:objectNumber": {
535 "collectionobjects_common:publishToList": {
537 "include_in_all": "false",
541 "analyzer": "refname_shortid_analyzer"
545 "collectionobjects_common:materialGroupList": {
553 "analyzer": "refname_displayname_analyzer"
560 "media_materials:publishToList": {
562 "include_in_all": "false",
566 "analyzer": "refname_shortid_analyzer"
573 </tenant:elasticSearchIndexConfig>
574 </tenant:tenantBinding>
575 </tenant:TenantBindingConfig>