id: d7_search_settings
label: Search configuration
migration_tags:
  - Drupal 7
  - Configuration
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
  source_module: search
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
