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:elasticSearchDocumentWriter merge:action="replace">
12 org.collectionspace.services.nuxeo.elasticsearch.materials.MaterialsESDocumentWriter
13 </tenant:elasticSearchDocumentWriter>
15 <tenant:elasticSearchIndexConfig>
16 <tenant:mapping merge:action="replace">
18 // For now, don't index a field unless there's a mapping explicitly defined. This keeps the
19 // index as small as possible. We may want to turn this on in the future, to support arbitrary
20 // searches through Elasticsearch, e.g. NXQL queries for ad hoc reporting in the CSpace UI.
27 "collectionspace_denorm:*",
28 "collectionspace_core:*",
29 "ecm:currentLifeCycleState",
32 "materials_common:shortIdentifier",
33 "materials_common:publishToList",
34 "materials_common:externalUrlGroupList",
35 "materials_common:materialTermGroupList",
36 "materials_common:materialCompositionGroupList",
37 "materials_common:description",
38 "materials_common:typicalUses",
39 "materials_common:discontinued",
40 "materials_common:productionDate",
41 "materials_common:materialProductionOrganizationGroupList",
42 "materials_common:materialProductionPersonGroupList",
43 "materials_common:materialProductionPlaceGroupList",
44 "materials_common:productionNote",
45 "materials_common:additionalResourceGroupList",
46 "materials_common:featuredApplicationGroupList",
47 "materials_common:commonForm",
48 "materials_common:formTypeGroupList",
49 "materials_common:acousticalPropertyGroupList",
50 "materials_common:durabilityPropertyGroupList",
51 "materials_common:electricalPropertyGroupList",
52 "materials_common:hygrothermalPropertyGroupList",
53 "materials_common:mechanicalPropertyGroupList",
54 "materials_common:opticalPropertyGroupList",
55 "materials_common:sensorialPropertyGroupList",
56 "materials_common:smartMaterialPropertyGroupList",
57 "materials_common:additionalPropertyGroupList",
58 "materials_common:propertyNote",
59 "materials_common:recycledContentGroupList",
60 "materials_common:lifecycleComponentGroupList",
61 "materials_common:embodiedEnergyGroupList",
62 "materials_common:certificationCreditGroupList",
63 "materials_common:ecologyNote",
64 "materials_common:castingProcesses",
65 "materials_common:joiningProcesses",
66 "materials_common:moldingProcesses",
67 "materials_common:surfacingProcesses",
68 "materials_common:deformingProcesses",
69 "materials_common:machiningProcesses",
70 "materials_common:rapidPrototypingProcesses",
71 "materials_common:additionalProcessGroupList",
72 "materials_common:processNote",
73 "collectionobjects_common:objectNumber",
74 "collectionobjects_common:objectStatusList",
75 "collectionobjects_common:publishToList",
76 "collectionobjects_common:materialGroupList",
77 "collectionobjects_common:otherNumberList",
78 "collectionobjects_common:collection",
79 "collectionobjects_common:computedCurrentLocation",
80 "collectionobjects_materials:materialContainerGroupList",
81 "collectionobjects_materials:materialConditionGroupList",
82 "collectionobjects_materials:materialHandlingGroupList",
83 "collectionobjects_materials:materialPhysicalDescriptions",
84 "collectionobjects_common:colors",
85 "collectionobjects_materials:materialGenericColors",
86 "collectionobjects_materials:materialFinishGroupList",
87 "collectionobjects_common:numberOfObjects",
88 "collectionobjects_common:briefDescriptions",
89 "collectionobjects_common:measuredPartGroupList",
90 "media_common:blobCsid",
91 "media_materials:publishToList"
97 "analyzer": "fulltext"
100 "ecm:currentLifeCycleState": {
108 "analyzer" : "doctype_analyzer"
111 "collectionspace_denorm:title": {
113 "normalizer": "sorting_normalizer"
115 "collectionspace_denorm:commercialNames": {
117 "analyzer": "fulltext"
119 "collectionspace_denorm:commonNames": {
121 "analyzer": "fulltext"
123 "collectionspace_denorm:holdingInstitutions": {
125 "copy_to": "all_field",
129 "normalizer": "refname_displayname_normalizer"
134 "collectionspace_core:createdAt": {
136 // Sometimes the timestamp only has a two digit fractional second, instead of three.
137 // From imported data??
138 "format" : "date_time||yyyy-MM-dd'T'HH:mm:ss.SSZZ"
141 "materials_common:shortIdentifier": {
143 "copy_to": "all_field"
145 "materials_common:materialTermGroupList": {
150 "copy_to": "all_field"
154 "materials_common:publishToList": {
159 "normalizer": "refname_shortid_normalizer"
163 "materials_common:materialCompositionGroupList": {
166 "materialCompositionFamilyName": {
168 "copy_to": "all_field",
172 "normalizer": "refname_displayname_normalizer"
176 "materialCompositionClassName": {
178 "copy_to": "all_field",
182 "normalizer": "refname_displayname_normalizer"
186 "materialCompositionGenericName": {
188 "copy_to": "all_field",
192 "normalizer": "refname_displayname_normalizer"
198 "materials_common:description": {
200 "analyzer" : "fulltext",
201 "copy_to": "all_field"
203 "materials_common:typicalUses": {
205 "copy_to": "all_field",
209 "normalizer": "refname_displayname_normalizer"
213 "materials_common:materialProductionOrganizationGroupList": {
216 "materialProductionOrganization": {
218 "copy_to": "all_field",
222 "normalizer": "refname_displayname_normalizer"
228 "materials_common:materialProductionPersonGroupList": {
231 "materialProductionPerson": {
233 "copy_to": "all_field",
237 "normalizer": "refname_displayname_normalizer"
243 "materials_common:materialProductionPlaceGroupList": {
246 "materialProductionPlace": {
248 "copy_to": "all_field",
252 "normalizer": "refname_displayname_normalizer"
258 "materials_common:featuredApplicationGroupList": {
261 "featuredApplication": {
263 "copy_to": "all_field",
267 "normalizer": "refname_displayname_normalizer"
273 "materials_common:commonForm": {
275 "copy_to": "all_field",
279 "normalizer": "refname_displayname_normalizer"
283 "materials_common:formTypeGroupList": {
288 "copy_to": "all_field",
292 "normalizer": "refname_displayname_normalizer"
299 "materials_common:acousticalPropertyGroupList": {
302 "acousticalPropertyType": {
304 "copy_to": "all_field",
308 "normalizer": "refname_displayname_normalizer"
314 "materials_common:durabilityPropertyGroupList": {
317 "durabilityPropertyType": {
319 "copy_to": "all_field",
323 "normalizer": "refname_displayname_normalizer"
329 "materials_common:electricalPropertyGroupList": {
332 "electricalPropertyType": {
334 "copy_to": "all_field",
338 "normalizer": "refname_displayname_normalizer"
344 "materials_common:hygrothermalPropertyGroupList": {
347 "hygrothermalPropertyType": {
349 "copy_to": "all_field",
353 "normalizer": "refname_displayname_normalizer"
359 "materials_common:mechanicalPropertyGroupList": {
362 "mechanicalPropertyType": {
364 "copy_to": "all_field",
368 "normalizer": "refname_displayname_normalizer"
374 "materials_common:opticalPropertyGroupList": {
377 "opticalPropertyType": {
379 "copy_to": "all_field",
383 "normalizer": "refname_displayname_normalizer"
389 "materials_common:sensorialPropertyGroupList": {
392 "sensorialPropertyType": {
394 "copy_to": "all_field",
398 "normalizer": "refname_displayname_normalizer"
404 "materials_common:smartMaterialPropertyGroupList": {
407 "smartMaterialPropertyType": {
409 "copy_to": "all_field",
413 "normalizer": "refname_displayname_normalizer"
419 "materials_common:additionalPropertyGroupList": {
422 "additionalPropertyType": {
424 "copy_to": "all_field",
428 "normalizer": "refname_displayname_normalizer"
435 "materials_common:recycledContentGroupList": {
438 "recycledContentQualifier": {
440 "copy_to": "all_field",
444 "normalizer": "refname_displayname_normalizer"
450 "materials_common:lifecycleComponentGroupList": {
453 "lifecycleComponent": {
455 "copy_to": "all_field",
459 "normalizer": "refname_displayname_normalizer"
465 // TODO: embodiedEnergy - range?
466 "materials_common:certificationCreditGroupList": {
469 "certificationProgram": {
471 "copy_to": "all_field",
475 "normalizer": "refname_displayname_normalizer"
482 "materials_common:castingProcesses": {
484 "copy_to": "all_field",
488 "normalizer": "refname_displayname_normalizer"
492 "materials_common:joiningProcesses": {
494 "copy_to": "all_field",
498 "normalizer": "refname_displayname_normalizer"
502 "materials_common:moldingProcesses": {
504 "copy_to": "all_field",
508 "normalizer": "refname_displayname_normalizer"
512 "materials_common:surfacingProcesses": {
514 "copy_to": "all_field",
518 "normalizer": "refname_displayname_normalizer"
522 "materials_common:deformingProcesses": {
524 "copy_to": "all_field",
528 "normalizer": "refname_displayname_normalizer"
532 "materials_common:machiningProcesses": {
534 "copy_to": "all_field",
538 "normalizer": "refname_displayname_normalizer"
542 "materials_common:rapidPrototypingProcesses": {
544 "copy_to": "all_field",
548 "normalizer": "refname_displayname_normalizer"
552 "materials_common:additionalProcessGroupList": {
555 "additionalProcess": {
557 "copy_to": "all_field",
561 "normalizer": "refname_displayname_normalizer"
568 "collectionobjects_common:objectNumber": {
570 "copy_to": "all_field"
572 "collectionobjects_common:publishToList": {
577 "normalizer": "refname_shortid_normalizer"
581 "collectionobjects_common:materialGroupList": {
586 "copy_to": "all_field",
590 "normalizer": "refname_displayname_normalizer"
594 "normalizer": "refname_shortid_normalizer"
601 "media_materials:publishToList": {
606 "normalizer": "refname_shortid_normalizer"
613 </tenant:elasticSearchIndexConfig>
614 </tenant:tenantBinding>
615 </tenant:TenantBindingConfig>