materio_search.features.inc 23 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570
  1. <?php
  2. /**
  3. * @file
  4. * materio_search.features.inc
  5. */
  6. /**
  7. * Implements hook_ctools_plugin_api().
  8. */
  9. function materio_search_ctools_plugin_api($module = NULL, $api = NULL) {
  10. if ($module == "strongarm" && $api == "strongarm") {
  11. return array("version" => "1");
  12. }
  13. }
  14. /**
  15. * Implements hook_default_search_api_index().
  16. */
  17. function materio_search_default_search_api_index() {
  18. $items = array();
  19. $items['breves_en'] = entity_import('search_api_index', '{
  20. "name" : "Breves EN",
  21. "machine_name" : "breves_en",
  22. "description" : null,
  23. "server" : "materio_solr3_en",
  24. "item_type" : "node",
  25. "options" : {
  26. "index_directly" : 0,
  27. "cron_limit" : "50",
  28. "entity_translation_language" : "en",
  29. "fields" : {
  30. "author" : { "type" : "integer", "entity_type" : "user" },
  31. "body:value" : { "type" : "text" },
  32. "field_onthologie:name_field" : { "type" : "list\\u003Ctext\\u003E", "boost" : "0.0" },
  33. "field_onthologie:synonyms_synonym" : { "type" : "list\\u003Clist\\u003Ctext\\u003E\\u003E", "boost" : "0.0" },
  34. "field_tags_libres:name_field" : { "type" : "list\\u003Ctext\\u003E", "boost" : "0.0" },
  35. "field_tags_libres:synonyms_synonym" : { "type" : "list\\u003Clist\\u003Ctext\\u003E\\u003E", "boost" : "0.0" },
  36. "search_api_access_node" : { "type" : "list\\u003Cstring\\u003E" },
  37. "search_api_language" : { "type" : "string" },
  38. "status" : { "type" : "boolean" },
  39. "title" : { "type" : "text" },
  40. "title_field" : { "type" : "text" },
  41. "type" : { "type" : "string" }
  42. },
  43. "data_alter_callbacks" : {
  44. "search_api_alter_bundle_filter" : {
  45. "status" : 1,
  46. "weight" : "-10",
  47. "settings" : { "default" : "0", "bundles" : { "breve" : "breve" } }
  48. },
  49. "search_api_alter_node_access" : { "status" : 1, "weight" : "0", "settings" : [] },
  50. "search_api_alter_node_status" : { "status" : 1, "weight" : "0", "settings" : [] },
  51. "search_api_alter_language_control" : {
  52. "status" : 1,
  53. "weight" : "0",
  54. "settings" : { "lang_field" : "", "languages" : { "und" : "und", "en" : "en" } }
  55. },
  56. "search_api_alter_add_viewed_entity" : { "status" : 0, "weight" : "0", "settings" : { "mode" : "full" } },
  57. "search_api_alter_add_url" : { "status" : 0, "weight" : "0", "settings" : [] },
  58. "search_api_alter_add_aggregation" : { "status" : 0, "weight" : "0", "settings" : [] },
  59. "search_api_alter_add_hierarchy" : { "status" : 0, "weight" : "0", "settings" : { "fields" : [] } }
  60. },
  61. "processors" : {
  62. "search_api_case_ignore" : {
  63. "status" : 1,
  64. "weight" : "0",
  65. "settings" : { "fields" : { "title" : true, "title_field" : true } }
  66. },
  67. "search_api_html_filter" : {
  68. "status" : 0,
  69. "weight" : "10",
  70. "settings" : {
  71. "fields" : { "title" : true, "title_field" : true },
  72. "title" : 0,
  73. "alt" : 1,
  74. "tags" : "h1 = 5\\r\\nh2 = 3\\r\\nh3 = 2\\r\\nstrong = 2\\r\\nb = 2\\r\\nem = 1.5\\r\\nu = 1.5"
  75. }
  76. },
  77. "search_api_tokenizer" : {
  78. "status" : 0,
  79. "weight" : "20",
  80. "settings" : {
  81. "fields" : { "title" : true, "title_field" : true },
  82. "spaces" : "[^[:alnum:]]",
  83. "ignorable" : "[\\u0027]"
  84. }
  85. },
  86. "search_api_stopwords" : {
  87. "status" : 0,
  88. "weight" : "30",
  89. "settings" : {
  90. "fields" : { "title" : true, "title_field" : true },
  91. "file" : "",
  92. "stopwords" : "but\\r\\ndid\\r\\nthe this that those\\r\\netc"
  93. }
  94. }
  95. }
  96. },
  97. "enabled" : "1",
  98. "read_only" : "0"
  99. }');
  100. $items['breves_fr'] = entity_import('search_api_index', '{
  101. "name" : "Breves FR",
  102. "machine_name" : "breves_fr",
  103. "description" : null,
  104. "server" : "materio_solr3_fr",
  105. "item_type" : "node",
  106. "options" : {
  107. "index_directly" : 0,
  108. "cron_limit" : "50",
  109. "entity_translation_language" : "fr",
  110. "fields" : {
  111. "author" : { "type" : "integer", "entity_type" : "user" },
  112. "body:value" : { "type" : "text" },
  113. "field_onthologie:name_field" : { "type" : "list\\u003Ctext\\u003E", "boost" : "0.0" },
  114. "field_onthologie:synonyms_synonym" : { "type" : "list\\u003Clist\\u003Ctext\\u003E\\u003E", "boost" : "0.0" },
  115. "field_tags_libres:name_field" : { "type" : "list\\u003Ctext\\u003E", "boost" : "0.0" },
  116. "field_tags_libres:synonyms_synonym" : { "type" : "list\\u003Clist\\u003Ctext\\u003E\\u003E", "boost" : "0.0" },
  117. "search_api_access_node" : { "type" : "list\\u003Cstring\\u003E" },
  118. "search_api_language" : { "type" : "string" },
  119. "status" : { "type" : "boolean" },
  120. "title" : { "type" : "text" },
  121. "title_field" : { "type" : "text" },
  122. "type" : { "type" : "string" }
  123. },
  124. "data_alter_callbacks" : {
  125. "search_api_alter_bundle_filter" : {
  126. "status" : 1,
  127. "weight" : "-10",
  128. "settings" : { "default" : "0", "bundles" : { "breve" : "breve" } }
  129. },
  130. "search_api_alter_node_access" : { "status" : 1, "weight" : "0", "settings" : [] },
  131. "search_api_alter_node_status" : { "status" : 1, "weight" : "0", "settings" : [] },
  132. "search_api_alter_language_control" : {
  133. "status" : 1,
  134. "weight" : "0",
  135. "settings" : { "lang_field" : "", "languages" : { "und" : "und", "fr" : "fr" } }
  136. },
  137. "search_api_alter_add_viewed_entity" : { "status" : 0, "weight" : "0", "settings" : { "mode" : "full" } },
  138. "search_api_alter_add_url" : { "status" : 0, "weight" : "0", "settings" : [] },
  139. "search_api_alter_add_aggregation" : { "status" : 0, "weight" : "0", "settings" : [] },
  140. "search_api_alter_add_hierarchy" : { "status" : 0, "weight" : "0", "settings" : { "fields" : [] } }
  141. },
  142. "processors" : {
  143. "search_api_case_ignore" : {
  144. "status" : 1,
  145. "weight" : "0",
  146. "settings" : { "fields" : { "title" : true, "title_field" : true } }
  147. },
  148. "search_api_html_filter" : {
  149. "status" : 0,
  150. "weight" : "10",
  151. "settings" : {
  152. "fields" : { "title" : true, "title_field" : true },
  153. "title" : 0,
  154. "alt" : 1,
  155. "tags" : "h1 = 5\\r\\nh2 = 3\\r\\nh3 = 2\\r\\nstrong = 2\\r\\nb = 2\\r\\nem = 1.5\\r\\nu = 1.5"
  156. }
  157. },
  158. "search_api_tokenizer" : {
  159. "status" : 0,
  160. "weight" : "20",
  161. "settings" : {
  162. "fields" : { "title" : true, "title_field" : true },
  163. "spaces" : "[^[:alnum:]]",
  164. "ignorable" : "[\\u0027]"
  165. }
  166. },
  167. "search_api_stopwords" : {
  168. "status" : 0,
  169. "weight" : "30",
  170. "settings" : {
  171. "fields" : { "title" : true, "title_field" : true },
  172. "file" : "",
  173. "stopwords" : "but\\r\\ndid\\r\\nthe this that those\\r\\netc"
  174. }
  175. }
  176. }
  177. },
  178. "enabled" : "1",
  179. "read_only" : "0"
  180. }');
  181. $items['materiaux_breves_en'] = entity_import('search_api_index', '{
  182. "name" : "Materiaux Breves EN",
  183. "machine_name" : "materiaux_breves_en",
  184. "description" : null,
  185. "server" : "materio_solr3_en",
  186. "item_type" : "node",
  187. "options" : {
  188. "index_directly" : 0,
  189. "cron_limit" : "50",
  190. "entity_translation_language" : "en",
  191. "fields" : {
  192. "author" : { "type" : "integer", "entity_type" : "user" },
  193. "body:value" : { "type" : "text" },
  194. "field_description:value" : { "type" : "text" },
  195. "field_nature_titre" : { "type" : "text", "boost" : "0.3" },
  196. "field_reference_materio" : { "type" : "text", "boost" : "0.3" },
  197. "materio_search_api_node_propertie_companie" : { "type" : "list\\u003Ctext\\u003E" },
  198. "materio_search_api_onthologie_term_1_text" : { "type" : "text", "boost" : "13.0" },
  199. "materio_search_api_onthologie_term_2_text" : { "type" : "text", "boost" : "8.0" },
  200. "materio_search_api_onthologie_term_3_text" : { "type" : "text", "boost" : "5.0" },
  201. "materio_search_api_onthologie_term_4_text" : { "type" : "text", "boost" : "3.0" },
  202. "materio_search_api_onthologie_term_5_text" : { "type" : "text", "boost" : "2.0" },
  203. "materio_search_api_onthologie_term_others_text" : { "type" : "list\\u003Ctext\\u003E" },
  204. "materio_search_api_taglibres_text" : { "type" : "list\\u003Ctext\\u003E", "boost" : "0.0" },
  205. "nid" : { "type" : "integer" },
  206. "search_api_access_node" : { "type" : "list\\u003Cstring\\u003E" },
  207. "search_api_language" : { "type" : "string" },
  208. "status" : { "type" : "boolean" },
  209. "title_field" : { "type" : "text", "boost" : "3.0" },
  210. "type" : { "type" : "string" }
  211. },
  212. "data_alter_callbacks" : {
  213. "search_api_alter_bundle_filter" : {
  214. "status" : 1,
  215. "weight" : "-10",
  216. "settings" : {
  217. "default" : "0",
  218. "bundles" : { "materiau" : "materiau", "breve" : "breve" }
  219. }
  220. },
  221. "search_api_alter_node_access" : { "status" : 1, "weight" : "0", "settings" : [] },
  222. "search_api_alter_node_status" : { "status" : 1, "weight" : "0", "settings" : [] },
  223. "search_api_alter_language_control" : {
  224. "status" : 1,
  225. "weight" : "0",
  226. "settings" : { "lang_field" : "", "languages" : { "und" : "und", "en" : "en" } }
  227. },
  228. "search_api_alter_add_viewed_entity" : { "status" : 0, "weight" : "0", "settings" : { "mode" : "full" } },
  229. "search_api_alter_add_url" : { "status" : 0, "weight" : "0", "settings" : [] },
  230. "search_api_alter_add_aggregation" : { "status" : 0, "weight" : "0", "settings" : [] },
  231. "search_api_alter_add_hierarchy" : { "status" : 0, "weight" : "0", "settings" : { "fields" : [] } }
  232. },
  233. "processors" : {
  234. "search_api_case_ignore" : { "status" : 1, "weight" : "0", "settings" : { "fields" : [] } },
  235. "search_api_html_filter" : {
  236. "status" : 0,
  237. "weight" : "10",
  238. "settings" : {
  239. "fields" : [],
  240. "title" : 0,
  241. "alt" : 1,
  242. "tags" : "h1 = 5\\r\\nh2 = 3\\r\\nh3 = 2\\r\\nstrong = 2\\r\\nb = 2\\r\\nem = 1.5\\r\\nu = 1.5"
  243. }
  244. },
  245. "search_api_tokenizer" : {
  246. "status" : 0,
  247. "weight" : "20",
  248. "settings" : { "fields" : [], "spaces" : "[^[:alnum:]]", "ignorable" : "[\\u0027]" }
  249. },
  250. "search_api_stopwords" : {
  251. "status" : 0,
  252. "weight" : "30",
  253. "settings" : {
  254. "fields" : [],
  255. "file" : "",
  256. "stopwords" : "but\\r\\ndid\\r\\nthe this that those\\r\\netc"
  257. }
  258. }
  259. }
  260. },
  261. "enabled" : "1",
  262. "read_only" : "0"
  263. }');
  264. $items['materiaux_breves_fr'] = entity_import('search_api_index', '{
  265. "name" : "Materiaux Breves FR",
  266. "machine_name" : "materiaux_breves_fr",
  267. "description" : null,
  268. "server" : "materio_solr3_fr",
  269. "item_type" : "node",
  270. "options" : {
  271. "index_directly" : 0,
  272. "cron_limit" : "50",
  273. "entity_translation_language" : "fr",
  274. "fields" : {
  275. "nid" : { "type" : "integer" },
  276. "type" : { "type" : "string" },
  277. "status" : { "type" : "boolean" },
  278. "author" : { "type" : "integer", "entity_type" : "user" },
  279. "materio_search_api_onthologie_term_1_text" : { "type" : "text", "boost" : "13.0" },
  280. "materio_search_api_onthologie_term_2_text" : { "type" : "text", "boost" : "8.0" },
  281. "materio_search_api_onthologie_term_3_text" : { "type" : "text", "boost" : "5.0" },
  282. "materio_search_api_onthologie_term_4_text" : { "type" : "text", "boost" : "3.0" },
  283. "materio_search_api_onthologie_term_5_text" : { "type" : "text", "boost" : "2.0" },
  284. "materio_search_api_onthologie_term_others_text" : { "type" : "list\\u003Ctext\\u003E" },
  285. "materio_search_api_taglibres_text" : { "type" : "list\\u003Ctext\\u003E", "boost" : "0.1" },
  286. "title_field" : { "type" : "text", "boost" : "3.0" },
  287. "field_nature_titre" : { "type" : "text", "boost" : "3.0" },
  288. "field_reference_materio" : { "type" : "text", "boost" : "0.3" },
  289. "materio_search_api_node_propertie_companie" : { "type" : "list\\u003Ctext\\u003E" },
  290. "search_api_language" : { "type" : "string" },
  291. "search_api_access_node" : { "type" : "list\\u003Cstring\\u003E" },
  292. "body:value" : { "type" : "text" },
  293. "field_description:value" : { "type" : "text" }
  294. },
  295. "data_alter_callbacks" : {
  296. "search_api_alter_bundle_filter" : {
  297. "status" : 1,
  298. "weight" : "-10",
  299. "settings" : {
  300. "default" : "0",
  301. "bundles" : { "breve" : "breve", "materiau" : "materiau" }
  302. }
  303. },
  304. "search_api_alter_node_access" : { "status" : 1, "weight" : "0", "settings" : [] },
  305. "search_api_alter_node_status" : { "status" : 1, "weight" : "0", "settings" : [] },
  306. "search_api_alter_language_control" : {
  307. "status" : 1,
  308. "weight" : "0",
  309. "settings" : { "lang_field" : "", "languages" : { "und" : "und", "fr" : "fr" } }
  310. },
  311. "search_api_alter_add_viewed_entity" : { "status" : 0, "weight" : "0", "settings" : { "mode" : "full" } },
  312. "search_api_alter_add_url" : { "status" : 0, "weight" : "0", "settings" : [] },
  313. "search_api_alter_add_aggregation" : { "status" : 0, "weight" : "0", "settings" : [] },
  314. "search_api_alter_add_hierarchy" : { "status" : 0, "weight" : "0", "settings" : { "fields" : [] } }
  315. },
  316. "processors" : {
  317. "search_api_case_ignore" : {
  318. "status" : 1,
  319. "weight" : "0",
  320. "settings" : { "fields" : { "title_field" : true, "field_reference_materio" : true } }
  321. },
  322. "search_api_html_filter" : {
  323. "status" : 0,
  324. "weight" : "10",
  325. "settings" : {
  326. "fields" : { "title_field" : true, "field_reference_materio" : true },
  327. "title" : 0,
  328. "alt" : 1,
  329. "tags" : "h1 = 5\\r\\nh2 = 3\\r\\nh3 = 2\\r\\nstrong = 2\\r\\nb = 2\\r\\nem = 1.5\\r\\nu = 1.5"
  330. }
  331. },
  332. "search_api_tokenizer" : {
  333. "status" : 0,
  334. "weight" : "20",
  335. "settings" : {
  336. "fields" : { "title_field" : true, "field_reference_materio" : true },
  337. "spaces" : "[^[:alnum:]]",
  338. "ignorable" : "[\\u0027]"
  339. }
  340. },
  341. "search_api_stopwords" : {
  342. "status" : 0,
  343. "weight" : "30",
  344. "settings" : {
  345. "fields" : { "title_field" : true, "field_reference_materio" : true },
  346. "file" : "",
  347. "stopwords" : "but\\r\\ndid\\r\\nthe this that those\\r\\netc"
  348. }
  349. }
  350. }
  351. },
  352. "enabled" : "1",
  353. "read_only" : "0"
  354. }');
  355. $items['referencement_en'] = entity_import('search_api_index', '{
  356. "name" : "Autocomplet EN",
  357. "machine_name" : "referencement_en",
  358. "description" : null,
  359. "server" : "materio_solr3_en",
  360. "item_type" : "taxonomy_term",
  361. "options" : {
  362. "index_directly" : 0,
  363. "cron_limit" : "50",
  364. "entity_translation_language" : "en",
  365. "fields" : {
  366. "materio_search_api_term_property_dup_name" : { "type" : "text", "real_type" : "edge_n2_kw_text" },
  367. "name" : { "type" : "text", "real_type" : "edge_n2_kw_text" },
  368. "name_field" : { "type" : "text", "real_type" : "edge_n2_kw_text" },
  369. "search_api_language" : { "type" : "string" },
  370. "synonyms" : {
  371. "type" : "list\\u003Ctext\\u003E",
  372. "real_type" : "list\\u003Cedge_n2_kw_text\\u003E"
  373. },
  374. "synonyms_synonym" : {
  375. "type" : "list\\u003Ctext\\u003E",
  376. "real_type" : "list\\u003Cedge_n2_kw_text\\u003E"
  377. }
  378. },
  379. "data_alter_callbacks" : {
  380. "search_api_alter_bundle_filter" : {
  381. "status" : 1,
  382. "weight" : "-10",
  383. "settings" : {
  384. "default" : "0",
  385. "bundles" : { "tag_libres" : "tag_libres", "onthologie" : "onthologie" }
  386. }
  387. },
  388. "search_api_alter_language_control" : {
  389. "status" : 1,
  390. "weight" : "0",
  391. "settings" : { "lang_field" : "", "languages" : { "und" : "und", "en" : "en" } }
  392. },
  393. "search_api_alter_add_hierarchy" : { "status" : 0, "weight" : "0", "settings" : { "fields" : [] } },
  394. "search_api_alter_add_aggregation" : { "status" : 0, "weight" : "0", "settings" : [] },
  395. "search_api_alter_add_url" : { "status" : 0, "weight" : "0", "settings" : [] },
  396. "search_api_alter_add_viewed_entity" : { "status" : 0, "weight" : "0", "settings" : { "mode" : "full" } }
  397. },
  398. "processors" : {
  399. "content_taxonomy_autocomplete_moderated_terms" : { "status" : 0, "weight" : "0", "settings" : { "fields" : [] } },
  400. "search_api_case_ignore" : {
  401. "status" : 1,
  402. "weight" : "0",
  403. "settings" : { "fields" : { "synonyms_synonym" : true, "name_field" : true } }
  404. },
  405. "search_api_html_filter" : {
  406. "status" : 0,
  407. "weight" : "10",
  408. "settings" : {
  409. "fields" : { "synonyms_synonym" : true, "name_field" : true },
  410. "title" : 0,
  411. "alt" : 1,
  412. "tags" : "h1 = 5\\r\\nh2 = 3\\r\\nh3 = 2\\r\\nstrong = 2\\r\\nb = 2\\r\\nem = 1.5\\r\\nu = 1.5"
  413. }
  414. },
  415. "search_api_transliteration" : {
  416. "status" : 0,
  417. "weight" : "15",
  418. "settings" : { "fields" : {
  419. "name" : true,
  420. "synonyms" : true,
  421. "materio_search_api_term_property_dup_name" : true,
  422. "synonyms_synonym" : true,
  423. "name_field" : true
  424. }
  425. }
  426. },
  427. "search_api_tokenizer" : {
  428. "status" : 0,
  429. "weight" : "20",
  430. "settings" : { "fields" : [], "spaces" : "[^[:alnum:]]", "ignorable" : "[\\u0027]" }
  431. },
  432. "search_api_stopwords" : {
  433. "status" : 0,
  434. "weight" : "30",
  435. "settings" : {
  436. "fields" : { "synonyms_synonym" : true, "name_field" : true },
  437. "file" : "",
  438. "stopwords" : "but\\r\\ndid\\r\\nthe this that those\\r\\netc"
  439. }
  440. },
  441. "search_api_highlighting" : {
  442. "status" : 0,
  443. "weight" : "35",
  444. "settings" : {
  445. "prefix" : "\\u003Cstrong\\u003E",
  446. "suffix" : "\\u003C\\/strong\\u003E",
  447. "excerpt" : 1,
  448. "excerpt_length" : "256",
  449. "exclude_fields" : [],
  450. "highlight" : "always"
  451. }
  452. }
  453. }
  454. },
  455. "enabled" : "1",
  456. "read_only" : "0"
  457. }');
  458. $items['referencement_fr'] = entity_import('search_api_index', '{
  459. "name" : "Autocomplet FR",
  460. "machine_name" : "referencement_fr",
  461. "description" : null,
  462. "server" : "materio_solr3_fr",
  463. "item_type" : "taxonomy_term",
  464. "options" : {
  465. "index_directly" : 0,
  466. "cron_limit" : "50",
  467. "entity_translation_language" : "fr",
  468. "fields" : {
  469. "description" : { "type" : "text", "boost" : "0.3" },
  470. "materio_search_api_term_property_dup_name" : { "type" : "text", "real_type" : "edge_n2_kw_mapped_text" },
  471. "name" : { "type" : "text" },
  472. "name_field" : { "type" : "text", "real_type" : "edge_n2_kw_text" },
  473. "search_api_language" : { "type" : "string" },
  474. "synonyms_synonym" : {
  475. "type" : "list\\u003Ctext\\u003E",
  476. "real_type" : "list\\u003Cedge_n2_kw_text\\u003E"
  477. }
  478. },
  479. "data_alter_callbacks" : {
  480. "search_api_alter_bundle_filter" : {
  481. "status" : 1,
  482. "weight" : "-10",
  483. "settings" : {
  484. "default" : "0",
  485. "bundles" : { "tag_libres" : "tag_libres", "onthologie" : "onthologie" }
  486. }
  487. },
  488. "search_api_alter_language_control" : {
  489. "status" : 1,
  490. "weight" : "0",
  491. "settings" : { "lang_field" : "", "languages" : { "und" : "und", "fr" : "fr" } }
  492. },
  493. "search_api_alter_add_hierarchy" : { "status" : 0, "weight" : "0", "settings" : { "fields" : [] } },
  494. "search_api_alter_add_aggregation" : { "status" : 0, "weight" : "0", "settings" : [] },
  495. "search_api_alter_add_url" : { "status" : 0, "weight" : "0", "settings" : [] },
  496. "search_api_alter_add_viewed_entity" : { "status" : 0, "weight" : "0", "settings" : { "mode" : "full" } }
  497. },
  498. "processors" : {
  499. "content_taxonomy_autocomplete_moderated_terms" : { "status" : 0, "weight" : "0", "settings" : { "fields" : [] } },
  500. "search_api_case_ignore" : {
  501. "status" : 1,
  502. "weight" : "0",
  503. "settings" : { "fields" : {
  504. "description" : true,
  505. "materio_search_api_term_property_dup_name" : true,
  506. "synonyms_synonym" : true,
  507. "name_field" : true
  508. }
  509. }
  510. },
  511. "search_api_html_filter" : {
  512. "status" : 0,
  513. "weight" : "10",
  514. "settings" : {
  515. "fields" : { "description" : true, "synonyms_synonym" : true, "name_field" : true },
  516. "title" : 0,
  517. "alt" : 1,
  518. "tags" : "h1 = 5\\r\\nh2 = 3\\r\\nh3 = 2\\r\\nstrong = 2\\r\\nb = 2\\r\\nem = 1.5\\r\\nu = 1.5"
  519. }
  520. },
  521. "search_api_transliteration" : {
  522. "status" : 0,
  523. "weight" : "15",
  524. "settings" : { "fields" : {
  525. "description" : true,
  526. "materio_search_api_term_property_dup_name" : true,
  527. "synonyms_synonym" : true,
  528. "name_field" : true
  529. }
  530. }
  531. },
  532. "search_api_tokenizer" : {
  533. "status" : 0,
  534. "weight" : "20",
  535. "settings" : {
  536. "fields" : { "description" : true },
  537. "spaces" : "[^[:alnum:]]",
  538. "ignorable" : "[\\u0027]"
  539. }
  540. },
  541. "search_api_stopwords" : {
  542. "status" : 0,
  543. "weight" : "30",
  544. "settings" : {
  545. "fields" : { "description" : true, "synonyms_synonym" : true, "name_field" : true },
  546. "file" : "",
  547. "stopwords" : "but\\r\\ndid\\r\\nthe this that those\\r\\netc"
  548. }
  549. },
  550. "search_api_highlighting" : {
  551. "status" : 0,
  552. "weight" : "35",
  553. "settings" : {
  554. "prefix" : "\\u003Cstrong\\u003E",
  555. "suffix" : "\\u003C\\/strong\\u003E",
  556. "excerpt" : 1,
  557. "excerpt_length" : "256",
  558. "exclude_fields" : [],
  559. "highlight" : "always"
  560. }
  561. }
  562. }
  563. },
  564. "enabled" : "1",
  565. "read_only" : "0"
  566. }');
  567. return $items;
  568. }