search.schema.yml

Same filename in other branches
  1. 8.9.x core/modules/search/config/schema/search.schema.yml
  2. 10 core/modules/search/config/schema/search.schema.yml
  3. 11.x core/modules/search/config/schema/search.schema.yml
core/modules/search/config/schema/search.schema.yml

File

core/modules/search/config/schema/search.schema.yml

View source
  1. # Schema for the configuration files of the search module.
  2. search.settings:
  3. type: config_object
  4. label: 'Search settings'
  5. mapping:
  6. and_or_limit:
  7. type: integer
  8. label: 'AND/OR combination limit'
  9. default_page:
  10. type: string
  11. label: 'Default search page'
  12. index:
  13. type: mapping
  14. label: 'Indexing settings'
  15. mapping:
  16. cron_limit:
  17. type: integer
  18. label: 'Number of items to index per cron run'
  19. overlap_cjk:
  20. type: boolean
  21. label: 'Simple CJK handling'
  22. minimum_word_size:
  23. type: integer
  24. label: 'Minimum word length to index'
  25. tag_weights:
  26. type: mapping
  27. label: 'HTML tags weight'
  28. mapping:
  29. h1:
  30. type: integer
  31. label: 'Tag h1 weight'
  32. h2:
  33. type: integer
  34. label: 'Tag h2 weight'
  35. h3:
  36. type: integer
  37. label: 'Tag h3 weight'
  38. h4:
  39. type: integer
  40. label: 'Tag h4 weight'
  41. h5:
  42. type: integer
  43. label: 'Tag h5 weight'
  44. h6:
  45. type: integer
  46. label: 'Tag h6 weight'
  47. u:
  48. type: integer
  49. label: 'Tag u weight'
  50. b:
  51. type: integer
  52. label: 'Tag b weight'
  53. i:
  54. type: integer
  55. label: 'Tag i weight'
  56. strong:
  57. type: integer
  58. label: 'Tag strong weight'
  59. em:
  60. type: integer
  61. label: 'Tag em weight'
  62. a:
  63. type: integer
  64. label: 'Tag a weight'
  65. logging:
  66. type: boolean
  67. label: 'Log searches'
  68. search.page.*:
  69. type: config_entity
  70. label: 'Search page'
  71. mapping:
  72. id:
  73. type: string
  74. label: 'ID'
  75. label:
  76. type: label
  77. label: 'Label'
  78. path:
  79. type: string
  80. label: 'Search page path'
  81. weight:
  82. type: integer
  83. label: 'Weight'
  84. plugin:
  85. type: string
  86. label: 'Plugin'
  87. configuration:
  88. type: search.plugin.[%parent.plugin]
  89. block.settings.search_form_block:
  90. type: block_settings
  91. label: 'Search block'
  92. mapping:
  93. page_id:
  94. type: string
  95. label: 'Search page'

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.