You are here

search_api_autocomplete.schema.yml in Search API Autocomplete 8

config/schema/search_api_autocomplete.schema.yml

File

config/schema/search_api_autocomplete.schema.yml
View source
  1. search_api_autocomplete.settings:
  2. type: config_object
  3. label: 'Search API Autocomplete settings'
  4. mapping:
  5. enable_custom_scripts:
  6. type: boolean
  7. label: 'Enable the use of custom scripts as autocomplete callbacks'
  8. search_api_autocomplete.search.*:
  9. type: config_entity
  10. label: 'Autocomplete search'
  11. mapping:
  12. id:
  13. type: string
  14. label: 'ID'
  15. label:
  16. type: string
  17. label: 'Label'
  18. index_id:
  19. type: string
  20. label: 'Index ID'
  21. suggester_settings:
  22. type: sequence
  23. label: 'Suggester settings'
  24. sequence:
  25. type: plugin.plugin_configuration.search_api_autocomplete_suggester.[%key]
  26. label: 'The configuration for a single suggester'
  27. suggester_weights:
  28. type: sequence
  29. label: 'Suggester weights'
  30. sequence:
  31. type: integer
  32. label: 'The weight for a single suggester'
  33. suggester_limits:
  34. type: sequence
  35. label: 'Suggester limits'
  36. sequence:
  37. type: integer
  38. label: 'The limit for a single suggester'
  39. search_settings:
  40. type: sequence
  41. label: 'Search plugin settings'
  42. sequence:
  43. type: plugin.plugin_configuration.search_api_autocomplete_search.[%key]
  44. label: 'The configuration for the search entity''s search plugin'
  45. options:
  46. type: mapping
  47. label: 'Options'
  48. mapping:
  49. limit:
  50. type: integer
  51. label: 'Maximum number of suggestions'
  52. min_length:
  53. type: integer
  54. label: 'The minimum length of user input to trigger autocomplete'
  55. show_count:
  56. type: boolean
  57. label: 'Whether to show a predicted result count for suggestions'
  58. delay:
  59. type: integer
  60. label: 'The delay for triggering autocomplete after the user stopped typing'
  61. submit_button_selector:
  62. type: string
  63. label: 'A jQuery selector for finding the submit button in the search form'
  64. autosubmit:
  65. type: boolean
  66. label: 'Whether to automatically submit the search form when a suggestion is selected'
  67. plugin.plugin_configuration.search_api_autocomplete_suggester.*:
  68. type: mapping
  69. plugin.plugin_configuration.search_api_autocomplete_suggester.custom_script:
  70. type: mapping
  71. mapping:
  72. path:
  73. type: string
  74. label: 'The path or URI of the custom autocomplete script'
  75. plugin.plugin_configuration.search_api_autocomplete_suggester.server:
  76. type: mapping
  77. mapping:
  78. fields:
  79. type: sequence
  80. label: 'The fields to use for autocompletion'
  81. sequence:
  82. type: string
  83. plugin.plugin_configuration.search_api_autocomplete_suggester.live_results:
  84. type: mapping
  85. mapping:
  86. fields:
  87. type: sequence
  88. label: 'The fields to use for searching'
  89. sequence:
  90. type: string
  91. highlight:
  92. type: mapping
  93. mapping:
  94. enabled:
  95. type: boolean
  96. label: 'Whether to replace live results with a highlighted field'
  97. field:
  98. type: string
  99. label: 'The field to replace the live result'
  100. view_modes:
  101. type: sequence
  102. label: 'The view modes to use for displaying results'
  103. sequence:
  104. type: sequence
  105. label: 'The view modes to use for displaying results of a certain type'
  106. sequence:
  107. type: string
  108. label: 'The view mode to use for displaying results of a certain bundle'
  109. plugin.plugin_configuration.search_api_autocomplete_search.*:
  110. type: mapping
  111. plugin.plugin_configuration.search_api_autocomplete_search.views:*:
  112. type: mapping
  113. mapping:
  114. displays:
  115. type: mapping
  116. label: 'Displays'
  117. mapping:
  118. default:
  119. type: boolean
  120. label: 'Whether to exclude (TRUE) or include (FALSE) the selected Views displays.'
  121. selected:
  122. type: sequence
  123. label: 'The selected Views displays'
  124. sequence:
  125. type: string
  126. label: 'A Views display machine name'