You are here

search_api.index.social_users.yml in Open Social 8.5

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