You are here

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