Version 1 (modified by 4 years ago) ( diff ) | ,
---|
Update from build 167
- Create required index type and index item:
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.
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'); 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);
Note:
See TracWiki
for help on using the wiki.