You are here

search_api.index.social_users.yml in Open Social 10.3.x

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