You are here

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