You are here

search_api.views.schema.yml in Search API 8

config/schema/search_api.views.schema.yml

File

config/schema/search_api.views.schema.yml
View source
  1. views.query.search_api_query:
  2. type: views_query
  3. label: 'Search API query'
  4. mapping:
  5. bypass_access:
  6. type: boolean
  7. label: If the underlying search index has access checks enabled, this option allows you to disable them for this view.
  8. skip_access:
  9. type: boolean
  10. label: Do not execute additional access checks for all items in the search results.
  11. preserve_facet_query_args:
  12. type: boolean
  13. label: By default, changing an exposed filter would reset all selected facets. This option allows you to prevent this behavior.
  14. views.row.search_api:
  15. type: views_row
  16. label: 'Search API rendered item'
  17. mapping:
  18. view_modes:
  19. type: sequence
  20. label: View modes for each datasource
  21. orderby: key
  22. sequence:
  23. type: sequence
  24. label: A list of all the bundles and their configured view mode
  25. orderby: key
  26. sequence:
  27. type: string
  28. label: View mode for the specific bundle
  29. views.cache.search_api_time:
  30. type: views_cache
  31. label: 'Time-based caching (Search API)'
  32. mapping:
  33. options:
  34. type: mapping
  35. label: 'Cache options'
  36. mapping:
  37. results_lifespan:
  38. type: integer
  39. label: 'The length of time raw query results should be cached.'
  40. results_lifespan_custom:
  41. type: integer
  42. label: 'Length of time in seconds raw query results should be cached.'
  43. output_lifespan:
  44. type: integer
  45. label: 'The length of time rendered HTML output should be cached.'
  46. output_lifespan_custom:
  47. type: integer
  48. label: 'Length of time in seconds rendered HTML output should be cached.'
  49. views.cache.search_api_tag:
  50. type: views_cache
  51. label: 'Tag-based caching (Search API)'
  52. mapping:
  53. options:
  54. type: mapping
  55. label: 'Cache options'
  56. views.argument.search_api:
  57. type: views.argument.numeric
  58. label: 'Search API'
  59. views.argument.search_api_fulltext:
  60. type: views.argument.search_api
  61. label: 'Search API more like this'
  62. mapping:
  63. parse_mode:
  64. type: string
  65. label: 'Parse mode'
  66. conjunction:
  67. type: string
  68. label: 'Conjunction'
  69. fields:
  70. type: sequence
  71. label: 'Fields'
  72. orderby: value
  73. sequence:
  74. type: string
  75. label: 'Field'
  76. views.argument.search_api_more_like_this:
  77. type: views_argument
  78. label: 'Search API more like this'
  79. mapping:
  80. fields:
  81. type: sequence
  82. label: 'Fields'
  83. orderby: value
  84. sequence:
  85. type: string
  86. label: 'Field'
  87. views.argument.search_api_term:
  88. type: views.argument.search_api
  89. label: 'Search API taxonomy term'
  90. views.field.search_api:
  91. type: views_field
  92. label: 'Search API standard'
  93. mapping:
  94. link_to_item:
  95. type: boolean
  96. label: 'Link to item'
  97. use_highlighting:
  98. type: boolean
  99. label: 'Use highlighted field data'
  100. multi_type:
  101. type: string
  102. label: 'Handling of multiple values'
  103. multi_separator:
  104. type: string
  105. label: 'Separator for multiple values'
  106. views.field.search_api_boolean:
  107. type: views.field.boolean
  108. label: 'Search API boolean'
  109. mapping:
  110. link_to_item:
  111. type: boolean
  112. label: 'Link to item'
  113. use_highlighting:
  114. type: boolean
  115. label: 'Use highlighted field data'
  116. multi_type:
  117. type: string
  118. label: 'Handling of multiple values'
  119. multi_separator:
  120. type: string
  121. label: 'Separator for multiple values'
  122. views.field.search_api_bulk_form:
  123. type: views.field.bulk_form
  124. label: 'Search API bulk form'
  125. views.field.search_api_date:
  126. type: views.field.date
  127. label: 'Search API date'
  128. mapping:
  129. link_to_item:
  130. type: boolean
  131. label: 'Link to item'
  132. use_highlighting:
  133. type: boolean
  134. label: 'Use highlighted field data'
  135. multi_type:
  136. type: string
  137. label: 'Handling of multiple values'
  138. multi_separator:
  139. type: string
  140. label: 'Separator for multiple values'
  141. views.field.search_api_entity:
  142. type: views.field.search_api
  143. label: 'Search API entity reference'
  144. mapping:
  145. display_methods:
  146. type: sequence
  147. label: 'Display settings'
  148. orderby: key
  149. sequence:
  150. type: mapping
  151. label: 'Display settings for bundle'
  152. mapping:
  153. display_method:
  154. type: string
  155. label: 'Display method'
  156. view_mode:
  157. type: string
  158. label: 'View mode'
  159. views.field.search_api_field:
  160. type: views.field.field
  161. label: 'Search API entity field'
  162. mapping:
  163. field_rendering:
  164. type: boolean
  165. label: 'Use entity field rendering'
  166. fallback_handler:
  167. type: string
  168. label: 'Fallback handler'
  169. fallback_options:
  170. type: views.field.[%parent.fallback_handler]
  171. label: 'Options for fallback handler'
  172. views.field.search_api_numeric:
  173. type: views.field.numeric
  174. label: 'Search API boolean'
  175. mapping:
  176. link_to_item:
  177. type: boolean
  178. label: 'Link to item'
  179. use_highlighting:
  180. type: boolean
  181. label: 'Use highlighted field data'
  182. multi_type:
  183. type: string
  184. label: 'Handling of multiple values'
  185. multi_separator:
  186. type: string
  187. label: 'Separator for multiple values'
  188. format_plural_values:
  189. type: sequence
  190. label: 'Pluralized strings'
  191. sequence:
  192. type: string
  193. label: 'Singular/Plural string'
  194. views.field.search_api_rendered_item:
  195. type: views.field.search_api
  196. label: 'Search API rendered item'
  197. mapping:
  198. view_modes:
  199. type: sequence
  200. label: 'View modes for each datasource'
  201. orderby: key
  202. sequence:
  203. type: sequence
  204. label: 'A list of all the bundles and their configured view mode'
  205. orderby: key
  206. sequence:
  207. type: string
  208. label: 'View mode for the specific bundle'
  209. views.filter.search_api_boolean:
  210. type: views.filter.boolean
  211. label: 'Search API boolean'
  212. views.filter.search_api_datasource:
  213. type: views.filter.search_api_options
  214. label: 'Search API datasource'
  215. views.filter.search_api_date:
  216. type: views.filter.date
  217. label: 'Search API date'
  218. views.filter.search_api_fulltext:
  219. type: views_filter
  220. label: 'Search API fulltext search'
  221. mapping:
  222. parse_mode:
  223. type: string
  224. label: Parse mode
  225. min_length:
  226. type: integer
  227. label: Minimum search string length
  228. fields:
  229. type: sequence
  230. label: Fields to search on
  231. orderby: value
  232. sequence:
  233. type: string
  234. label: Field name
  235. expose:
  236. type: mapping
  237. label: 'Exposed'
  238. mapping:
  239. expose_fields:
  240. type: boolean
  241. label: 'Expose the list of searched fields'
  242. placeholder:
  243. type: label
  244. label: 'Placeholder'
  245. searched_fields_id:
  246. type: string
  247. label: 'Searched fields identifier'
  248. views.filter.search_api_language:
  249. type: views.filter.language
  250. label: 'Search API language'
  251. views.filter.search_api_numeric:
  252. type: views.filter.numeric
  253. label: 'Search API numeric'
  254. views.filter.search_api_options:
  255. type: views.filter.many_to_one
  256. label: 'Search API options'
  257. views.filter.search_api_string:
  258. type: views.filter.search_api_numeric
  259. label: 'Search API string'
  260. views.filter.search_api_term:
  261. type: views.filter.taxonomy_index_tid
  262. label: 'Search API taxonomy term'
  263. views.filter.search_api_text:
  264. type: views.filter.search_api_string
  265. label: 'Search API text'
  266. views.filter.search_api_user:
  267. type: views.filter.user_name
  268. label: 'Search API user'
  269. views.filter_value.search_api_boolean:
  270. type: string
  271. views.filter_value.search_api_datasource:
  272. type: string
  273. views.filter_value.search_api_date:
  274. type: views.filter_value.date
  275. label: 'Search API date'
  276. views.filter_value.search_api_fulltext:
  277. type: string
  278. views.filter_value.search_api_language:
  279. type: string
  280. views.filter_value.search_api_numeric:
  281. type: views.filter_value.numeric
  282. views.filter_value.search_api_options:
  283. type: sequence
  284. orderby: value
  285. sequence:
  286. type: string
  287. label: 'Value'
  288. views.filter_value.search_api_string:
  289. type: views.filter_value.numeric
  290. views.filter_value.search_api_term:
  291. type: string
  292. views.filter_value.search_api_text:
  293. type: views.filter_value.numeric
  294. views.filter_value.search_api_user:
  295. type: string
  296. views.relationship.search_api:
  297. type: views_relationship
  298. label: 'Search API'
  299. mapping:
  300. skip_access:
  301. type: boolean
  302. label: Do not execute access checks for entities referenced via this relationship.