X-Git-Url: http://www.aleph1.co.uk/gitweb/?a=blobdiff_plain;f=web%2Fcore%2Fmodules%2Fsearch%2Fmigration_templates%2Fd7_search_settings.yml;fp=web%2Fcore%2Fmodules%2Fsearch%2Fmigration_templates%2Fd7_search_settings.yml;h=57db8b9456609efe0236b1d6558973ca33296ead;hb=a2bd1bf0c2c1f1a17d188f4dc0726a45494cefae;hp=0000000000000000000000000000000000000000;hpb=57c063afa3f66b07c4bbddc2d6129a96d90f0aad;p=yaffs-website diff --git a/web/core/modules/search/migration_templates/d7_search_settings.yml b/web/core/modules/search/migration_templates/d7_search_settings.yml new file mode 100644 index 000000000..57db8b945 --- /dev/null +++ b/web/core/modules/search/migration_templates/d7_search_settings.yml @@ -0,0 +1,32 @@ +id: d7_search_settings +label: Search configuration +migration_tags: + - Drupal 7 +source: + plugin: variable + constants: + status: true + variables: + - minimum_word_size + - overlap_cjk + - search_cron_limit + - search_tag_weights + - search_and_or_limit + - search_default_module +process: + 'index/minimum_word_size': minimum_word_size + 'index/overlap_cjk': overlap_cjk + 'index/cron_limit': search_cron_limit + 'index/tag_weights': search_tag_weights + and_or_limit: search_and_or_limit + logging: 'constants/status' + default_page: + plugin: static_map + source: + - search_default_module + map: + node: node_search + user: user_search +destination: + plugin: config + config_name: search.settings