Changes between Version 1 and Version 2 of Public/Docs/CinnamonWarBuildDocs/UpdateBuild167To181
- Timestamp:
- Nov 30, 2020, 2:54:20 PM (4 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Public/Docs/CinnamonWarBuildDocs/UpdateBuild167To181
v1 v2 1 1 = Update from build 167 2 2 * Create required index type and index item: 3 > **NOTE:** Make sure that the ids specified in the insert statement (100000, 100001 in the example) do not yet exist in the table in question. 3 > **NOTE:** Make sure that the ids specified in the insert statement (100000, 100001 in the example) do not yet exist in the table in question. Make sure that the ids in the index item {{{search_condition}}} refer to DITAmap, DITA and XML formats. 4 4 {{{ 5 5 INSERT INTO index_types (id, data_type, indexer_class, name, obj_version, va_provider_class) VALUES (100000, 'STRING', 'cinnamon.index.indexer.ElementNameIndexer', 'xml.element.name.indexer', 0, 'cinnamon.index.valueAssistance.DefaultProvider'); 6 6 INSERT INTO index_items (id, fieldname, for_content, for_metadata, for_sys_meta, multiple_results, name, obj_version, search_string, systemic, va_params, index_group_id, index_type_id, search_condition, store_field) VALUES (100001, 'xml.element', true, false, false, true, 'xml.element', 0, '-', false, '<vaParams/>', 54, 100000, 'count(/sysMeta/object/format[id=119 or id=120 or id=49])=1', true); 7 7 }}} 8 * Restart tomcat: 9 {{{ 10 service tomcat restart 11 }}}