You are here

search_api.index.social_users.yml in Open Social 8.6

modules/social_features/social_search/config/install/search_api.index.social_users.yml

File

modules/social_features/social_search/config/install/search_api.index.social_users.yml
View source
  1. langcode: en
  2. status: true
  3. dependencies:
  4. module:
  5. - profile
  6. - user
  7. - search_api
  8. - social_search
  9. config:
  10. - field.storage.profile.field_profile_expertise
  11. - field.storage.profile.field_profile_first_name
  12. - field.storage.profile.field_profile_interests
  13. - field.storage.profile.field_profile_last_name
  14. - field.storage.profile.field_profile_profile_tag
  15. - search_api.server.social_database
  16. - core.entity_view_mode.profile.search_index
  17. id: social_users
  18. name: 'Social Users'
  19. description: 'Default users index created for the Social distribution.'
  20. read_only: false
  21. field_settings:
  22. created:
  23. label: Created
  24. datasource_id: 'entity:profile'
  25. property_path: created
  26. type: date
  27. dependencies:
  28. module:
  29. - profile
  30. field_profile_expertise:
  31. label: Expertise
  32. datasource_id: 'entity:profile'
  33. property_path: field_profile_expertise
  34. type: integer
  35. dependencies:
  36. config:
  37. - field.storage.profile.field_profile_expertise
  38. field_profile_first_name:
  39. label: 'First name'
  40. datasource_id: 'entity:profile'
  41. property_path: field_profile_first_name
  42. type: text
  43. boost: !!float 2
  44. dependencies:
  45. config:
  46. - field.storage.profile.field_profile_first_name
  47. field_profile_interests:
  48. label: Interests
  49. datasource_id: 'entity:profile'
  50. property_path: field_profile_interests
  51. type: integer
  52. dependencies:
  53. config:
  54. - field.storage.profile.field_profile_interests
  55. field_profile_last_name:
  56. label: 'Last name'
  57. datasource_id: 'entity:profile'
  58. property_path: field_profile_last_name
  59. type: text
  60. boost: !!float 2
  61. dependencies:
  62. config:
  63. - field.storage.profile.field_profile_last_name
  64. field_profile_profile_tag:
  65. label: 'Profile tag'
  66. datasource_id: 'entity:profile'
  67. property_path: field_profile_profile_tag
  68. type: integer
  69. dependencies:
  70. config:
  71. - field.storage.profile.field_profile_profile_tag
  72. name:
  73. label: 'Owner » User » Name'
  74. datasource_id: 'entity:profile'
  75. property_path: 'uid:entity:name'
  76. type: text
  77. boost: !!float 2
  78. dependencies:
  79. module:
  80. - profile
  81. - user
  82. - user
  83. rendered_item:
  84. label: 'Rendered HTML output'
  85. property_path: rendered_item
  86. type: text
  87. configuration:
  88. roles:
  89. authenticated: authenticated
  90. view_mode:
  91. 'entity:profile':
  92. main: ''
  93. profile: search_index
  94. uid:
  95. label: Owner
  96. datasource_id: 'entity:profile'
  97. property_path: uid
  98. type: integer
  99. dependencies:
  100. module:
  101. - profile
  102. user_status:
  103. label: 'Owner » User » User status'
  104. datasource_id: 'entity:profile'
  105. property_path: 'uid:entity:status'
  106. type: boolean
  107. dependencies:
  108. module:
  109. - profile
  110. - user
  111. - user
  112. datasource_settings:
  113. 'entity:profile':
  114. plugin_id: 'entity:profile'
  115. bundles:
  116. default: true
  117. selected: { }
  118. processor_settings:
  119. add_url:
  120. plugin_id: add_url
  121. weights:
  122. preprocess_index: -30
  123. aggregated_field:
  124. plugin_id: aggregated_field
  125. weights:
  126. add_properties: 20
  127. blocked_users:
  128. weights:
  129. preprocess_query: -30
  130. html_filter:
  131. plugin_id: html_filter
  132. all_fields: false
  133. fields:
  134. - name
  135. - rendered_item
  136. title: true
  137. alt: true
  138. tags:
  139. b: 2
  140. em: 1
  141. h1: 5
  142. h2: 3
  143. h3: 2
  144. strong: 2
  145. u: 1
  146. weights:
  147. preprocess_index: -10
  148. preprocess_query: -10
  149. ignorecase:
  150. plugin_id: ignorecase
  151. all_fields: false
  152. fields:
  153. - field_profile_first_name
  154. - field_profile_last_name
  155. - name
  156. - rendered_item
  157. weights:
  158. preprocess_index: -10
  159. preprocess_query: -10
  160. rendered_item:
  161. plugin_id: rendered_item
  162. weights:
  163. add_properties: 0
  164. pre_index_save: -10
  165. stopwords:
  166. plugin_id: stopwords
  167. all_fields: false
  168. fields:
  169. - name
  170. - rendered_item
  171. stopwords:
  172. - a
  173. - an
  174. - and
  175. - are
  176. - as
  177. - at
  178. - be
  179. - but
  180. - by
  181. - for
  182. - if
  183. - in
  184. - into
  185. - is
  186. - it
  187. - 'no'
  188. - not
  189. - of
  190. - 'on'
  191. - or
  192. - s
  193. - such
  194. - t
  195. - that
  196. - the
  197. - their
  198. - then
  199. - there
  200. - these
  201. - they
  202. - this
  203. - to
  204. - was
  205. - will
  206. - with
  207. weights:
  208. preprocess_index: -5
  209. preprocess_query: -2
  210. super_user:
  211. weights:
  212. preprocess_query: 30
  213. tokenizer:
  214. plugin_id: tokenizer
  215. all_fields: false
  216. fields:
  217. - field_profile_first_name
  218. - field_profile_last_name
  219. - name
  220. - rendered_item
  221. spaces: ''
  222. overlap_cjk: 1
  223. minimum_word_size: '3'
  224. weights:
  225. preprocess_index: -6
  226. preprocess_query: -6
  227. transliteration:
  228. plugin_id: transliteration
  229. all_fields: false
  230. fields:
  231. - field_profile_first_name
  232. - field_profile_last_name
  233. - name
  234. - rendered_item
  235. weights:
  236. preprocess_index: -10
  237. preprocess_query: -10
  238. tracker_settings:
  239. default:
  240. indexing_order: fifo
  241. options:
  242. index_directly: false
  243. cron_limit: 50
  244. server: social_database