materio_search.features.inc 23 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591
  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", "boost" : "0.8" },
  194. "field_description:value" : { "type" : "text", "boost" : "0.8" },
  195. "field_nature_titre" : {
  196. "type" : "text",
  197. "boost" : "3.0",
  198. "real_type" : "edge_n2_kw_mapped_text"
  199. },
  200. "field_reference_materio" : { "type" : "text", "boost" : "0.3" },
  201. "materio_search_api_node_propertie_companie" : { "type" : "list\\u003Ctext\\u003E" },
  202. "materio_search_api_onthologie_term_1_text" : { "type" : "text", "real_type" : "edge_n2_kw_mapped_text" },
  203. "materio_search_api_onthologie_term_2_text" : { "type" : "text", "real_type" : "edge_n2_kw_mapped_text" },
  204. "materio_search_api_onthologie_term_3_text" : { "type" : "text", "real_type" : "edge_n2_kw_mapped_text" },
  205. "materio_search_api_onthologie_term_4_text" : { "type" : "text", "real_type" : "edge_n2_kw_mapped_text" },
  206. "materio_search_api_onthologie_term_5_text" : { "type" : "text", "real_type" : "edge_n2_kw_mapped_text" },
  207. "materio_search_api_onthologie_term_others_text" : {
  208. "type" : "list\\u003Ctext\\u003E",
  209. "real_type" : "list\\u003Cedge_n2_kw_mapped_text\\u003E"
  210. },
  211. "materio_search_api_taglibres_text" : {
  212. "type" : "list\\u003Ctext\\u003E",
  213. "real_type" : "list\\u003Cedge_n2_kw_mapped_text\\u003E"
  214. },
  215. "nid" : { "type" : "integer" },
  216. "search_api_access_node" : { "type" : "list\\u003Cstring\\u003E" },
  217. "search_api_language" : { "type" : "string" },
  218. "status" : { "type" : "boolean" },
  219. "title_field" : {
  220. "type" : "text",
  221. "boost" : "3.0",
  222. "real_type" : "edge_n2_kw_mapped_text"
  223. },
  224. "type" : { "type" : "string" }
  225. },
  226. "data_alter_callbacks" : {
  227. "search_api_alter_bundle_filter" : {
  228. "status" : 1,
  229. "weight" : "-10",
  230. "settings" : {
  231. "default" : "0",
  232. "bundles" : { "materiau" : "materiau", "breve" : "breve" }
  233. }
  234. },
  235. "search_api_alter_node_access" : { "status" : 1, "weight" : "0", "settings" : [] },
  236. "search_api_alter_node_status" : { "status" : 1, "weight" : "0", "settings" : [] },
  237. "search_api_alter_language_control" : {
  238. "status" : 1,
  239. "weight" : "0",
  240. "settings" : { "lang_field" : "", "languages" : { "und" : "und", "en" : "en" } }
  241. },
  242. "search_api_alter_add_viewed_entity" : { "status" : 0, "weight" : "0", "settings" : { "mode" : "full" } },
  243. "search_api_alter_add_url" : { "status" : 0, "weight" : "0", "settings" : [] },
  244. "search_api_alter_add_aggregation" : { "status" : 0, "weight" : "0", "settings" : [] },
  245. "search_api_alter_add_hierarchy" : { "status" : 0, "weight" : "0", "settings" : { "fields" : [] } }
  246. },
  247. "processors" : {
  248. "search_api_case_ignore" : { "status" : 1, "weight" : "0", "settings" : { "fields" : [] } },
  249. "search_api_html_filter" : {
  250. "status" : 0,
  251. "weight" : "10",
  252. "settings" : {
  253. "fields" : [],
  254. "title" : 0,
  255. "alt" : 1,
  256. "tags" : "h1 = 5\\r\\nh2 = 3\\r\\nh3 = 2\\r\\nstrong = 2\\r\\nb = 2\\r\\nem = 1.5\\r\\nu = 1.5"
  257. }
  258. },
  259. "search_api_tokenizer" : {
  260. "status" : 0,
  261. "weight" : "20",
  262. "settings" : { "fields" : [], "spaces" : "[^[:alnum:]]", "ignorable" : "[\\u0027]" }
  263. },
  264. "search_api_stopwords" : {
  265. "status" : 0,
  266. "weight" : "30",
  267. "settings" : {
  268. "fields" : [],
  269. "file" : "",
  270. "stopwords" : "but\\r\\ndid\\r\\nthe this that those\\r\\netc"
  271. }
  272. }
  273. }
  274. },
  275. "enabled" : "1",
  276. "read_only" : "0"
  277. }');
  278. $items['materiaux_breves_fr'] = entity_import('search_api_index', '{
  279. "name" : "Materiaux Breves FR",
  280. "machine_name" : "materiaux_breves_fr",
  281. "description" : null,
  282. "server" : "materio_solr3_fr",
  283. "item_type" : "node",
  284. "options" : {
  285. "index_directly" : 0,
  286. "cron_limit" : "50",
  287. "entity_translation_language" : "fr",
  288. "fields" : {
  289. "author" : { "type" : "integer", "entity_type" : "user" },
  290. "body:value" : { "type" : "text", "boost" : "0.8" },
  291. "field_description:value" : { "type" : "text", "boost" : "0.8" },
  292. "field_nature_titre" : { "type" : "text", "boost" : "3.0" },
  293. "field_reference_materio" : { "type" : "text", "boost" : "0.3" },
  294. "materio_search_api_node_propertie_companie" : { "type" : "list\\u003Ctext\\u003E" },
  295. "materio_search_api_onthologie_term_1_text" : { "type" : "text", "real_type" : "edge_n2_kw_mapped_text" },
  296. "materio_search_api_onthologie_term_2_text" : { "type" : "text", "real_type" : "edge_n2_kw_mapped_text" },
  297. "materio_search_api_onthologie_term_3_text" : { "type" : "text", "real_type" : "edge_n2_kw_mapped_text" },
  298. "materio_search_api_onthologie_term_4_text" : { "type" : "text", "real_type" : "edge_n2_kw_mapped_text" },
  299. "materio_search_api_onthologie_term_5_text" : { "type" : "text", "real_type" : "edge_n2_kw_mapped_text" },
  300. "materio_search_api_onthologie_term_others_text" : {
  301. "type" : "list\\u003Ctext\\u003E",
  302. "real_type" : "list\\u003Cedge_n2_kw_mapped_text\\u003E"
  303. },
  304. "materio_search_api_taglibres_text" : {
  305. "type" : "list\\u003Ctext\\u003E",
  306. "real_type" : "list\\u003Cedge_n2_kw_mapped_text\\u003E"
  307. },
  308. "nid" : { "type" : "integer" },
  309. "search_api_access_node" : { "type" : "list\\u003Cstring\\u003E" },
  310. "search_api_language" : { "type" : "string" },
  311. "status" : { "type" : "boolean" },
  312. "title_field" : { "type" : "text", "boost" : "3.0" },
  313. "type" : { "type" : "string" }
  314. },
  315. "data_alter_callbacks" : {
  316. "search_api_alter_bundle_filter" : {
  317. "status" : 1,
  318. "weight" : "-10",
  319. "settings" : {
  320. "default" : "0",
  321. "bundles" : { "breve" : "breve", "materiau" : "materiau" }
  322. }
  323. },
  324. "search_api_alter_node_access" : { "status" : 1, "weight" : "0", "settings" : [] },
  325. "search_api_alter_node_status" : { "status" : 1, "weight" : "0", "settings" : [] },
  326. "search_api_alter_language_control" : {
  327. "status" : 1,
  328. "weight" : "0",
  329. "settings" : { "lang_field" : "", "languages" : { "und" : "und", "fr" : "fr" } }
  330. },
  331. "search_api_alter_add_viewed_entity" : { "status" : 0, "weight" : "0", "settings" : { "mode" : "full" } },
  332. "search_api_alter_add_url" : { "status" : 0, "weight" : "0", "settings" : [] },
  333. "search_api_alter_add_aggregation" : { "status" : 0, "weight" : "0", "settings" : [] },
  334. "search_api_alter_add_hierarchy" : { "status" : 0, "weight" : "0", "settings" : { "fields" : [] } }
  335. },
  336. "processors" : {
  337. "search_api_case_ignore" : {
  338. "status" : 1,
  339. "weight" : "0",
  340. "settings" : { "fields" : { "title_field" : true, "field_reference_materio" : true } }
  341. },
  342. "search_api_html_filter" : {
  343. "status" : 0,
  344. "weight" : "10",
  345. "settings" : {
  346. "fields" : { "title_field" : true, "field_reference_materio" : true },
  347. "title" : 0,
  348. "alt" : 1,
  349. "tags" : "h1 = 5\\r\\nh2 = 3\\r\\nh3 = 2\\r\\nstrong = 2\\r\\nb = 2\\r\\nem = 1.5\\r\\nu = 1.5"
  350. }
  351. },
  352. "search_api_tokenizer" : {
  353. "status" : 0,
  354. "weight" : "20",
  355. "settings" : {
  356. "fields" : { "title_field" : true, "field_reference_materio" : true },
  357. "spaces" : "[^[:alnum:]]",
  358. "ignorable" : "[\\u0027]"
  359. }
  360. },
  361. "search_api_stopwords" : {
  362. "status" : 0,
  363. "weight" : "30",
  364. "settings" : {
  365. "fields" : { "title_field" : true, "field_reference_materio" : true },
  366. "file" : "",
  367. "stopwords" : "but\\r\\ndid\\r\\nthe this that those\\r\\netc"
  368. }
  369. }
  370. }
  371. },
  372. "enabled" : "1",
  373. "read_only" : "0"
  374. }');
  375. $items['referencement_en'] = entity_import('search_api_index', '{
  376. "name" : "Autocomplet EN",
  377. "machine_name" : "referencement_en",
  378. "description" : null,
  379. "server" : "materio_solr3_en",
  380. "item_type" : "taxonomy_term",
  381. "options" : {
  382. "index_directly" : 0,
  383. "cron_limit" : "50",
  384. "entity_translation_language" : "en",
  385. "fields" : {
  386. "description" : { "type" : "text" },
  387. "materio_search_api_term_property_dup_name" : { "type" : "text", "real_type" : "edge_n2_kw_mapped_text" },
  388. "name" : { "type" : "text" },
  389. "name_field" : { "type" : "text", "real_type" : "edge_n2_kw_text" },
  390. "search_api_language" : { "type" : "string" },
  391. "synonyms" : {
  392. "type" : "list\\u003Ctext\\u003E",
  393. "real_type" : "list\\u003Cedge_n2_kw_mapped_text\\u003E"
  394. },
  395. "synonyms_synonym" : {
  396. "type" : "list\\u003Ctext\\u003E",
  397. "real_type" : "list\\u003Cedge_n2_kw_text\\u003E"
  398. }
  399. },
  400. "data_alter_callbacks" : {
  401. "search_api_alter_bundle_filter" : {
  402. "status" : 1,
  403. "weight" : "-10",
  404. "settings" : {
  405. "default" : "0",
  406. "bundles" : { "tag_libres" : "tag_libres", "onthologie" : "onthologie" }
  407. }
  408. },
  409. "search_api_alter_language_control" : {
  410. "status" : 1,
  411. "weight" : "0",
  412. "settings" : { "lang_field" : "", "languages" : { "und" : "und", "en" : "en" } }
  413. },
  414. "search_api_alter_add_hierarchy" : { "status" : 0, "weight" : "0", "settings" : { "fields" : [] } },
  415. "search_api_alter_add_aggregation" : { "status" : 0, "weight" : "0", "settings" : [] },
  416. "search_api_alter_add_url" : { "status" : 0, "weight" : "0", "settings" : [] },
  417. "search_api_alter_add_viewed_entity" : { "status" : 0, "weight" : "0", "settings" : { "mode" : "full" } }
  418. },
  419. "processors" : {
  420. "content_taxonomy_autocomplete_moderated_terms" : { "status" : 0, "weight" : "0", "settings" : { "fields" : [] } },
  421. "search_api_case_ignore" : {
  422. "status" : 1,
  423. "weight" : "0",
  424. "settings" : { "fields" : { "synonyms_synonym" : true, "name_field" : true } }
  425. },
  426. "search_api_html_filter" : {
  427. "status" : 0,
  428. "weight" : "10",
  429. "settings" : {
  430. "fields" : { "synonyms_synonym" : true, "name_field" : true },
  431. "title" : 0,
  432. "alt" : 1,
  433. "tags" : "h1 = 5\\r\\nh2 = 3\\r\\nh3 = 2\\r\\nstrong = 2\\r\\nb = 2\\r\\nem = 1.5\\r\\nu = 1.5"
  434. }
  435. },
  436. "search_api_transliteration" : {
  437. "status" : 0,
  438. "weight" : "15",
  439. "settings" : { "fields" : {
  440. "name" : true,
  441. "synonyms" : true,
  442. "materio_search_api_term_property_dup_name" : true,
  443. "synonyms_synonym" : true,
  444. "name_field" : true
  445. }
  446. }
  447. },
  448. "search_api_tokenizer" : {
  449. "status" : 0,
  450. "weight" : "20",
  451. "settings" : { "fields" : [], "spaces" : "[^[:alnum:]]", "ignorable" : "[\\u0027]" }
  452. },
  453. "search_api_stopwords" : {
  454. "status" : 0,
  455. "weight" : "30",
  456. "settings" : {
  457. "fields" : { "synonyms_synonym" : true, "name_field" : true },
  458. "file" : "",
  459. "stopwords" : "but\\r\\ndid\\r\\nthe this that those\\r\\netc"
  460. }
  461. },
  462. "search_api_highlighting" : {
  463. "status" : 0,
  464. "weight" : "35",
  465. "settings" : {
  466. "prefix" : "\\u003Cstrong\\u003E",
  467. "suffix" : "\\u003C\\/strong\\u003E",
  468. "excerpt" : 1,
  469. "excerpt_length" : "256",
  470. "exclude_fields" : [],
  471. "highlight" : "always"
  472. }
  473. }
  474. }
  475. },
  476. "enabled" : "1",
  477. "read_only" : "0"
  478. }');
  479. $items['referencement_fr'] = entity_import('search_api_index', '{
  480. "name" : "Autocomplet FR",
  481. "machine_name" : "referencement_fr",
  482. "description" : null,
  483. "server" : "materio_solr3_fr",
  484. "item_type" : "taxonomy_term",
  485. "options" : {
  486. "index_directly" : 0,
  487. "cron_limit" : "50",
  488. "entity_translation_language" : "fr",
  489. "fields" : {
  490. "description" : { "type" : "text", "boost" : "0.3" },
  491. "materio_search_api_term_property_dup_name" : { "type" : "text", "real_type" : "edge_n2_kw_mapped_text" },
  492. "name" : { "type" : "text" },
  493. "name_field" : { "type" : "text", "real_type" : "edge_n2_kw_text" },
  494. "search_api_language" : { "type" : "string" },
  495. "synonyms_synonym" : {
  496. "type" : "list\\u003Ctext\\u003E",
  497. "real_type" : "list\\u003Cedge_n2_kw_text\\u003E"
  498. }
  499. },
  500. "data_alter_callbacks" : {
  501. "search_api_alter_bundle_filter" : {
  502. "status" : 1,
  503. "weight" : "-10",
  504. "settings" : {
  505. "default" : "0",
  506. "bundles" : { "tag_libres" : "tag_libres", "onthologie" : "onthologie" }
  507. }
  508. },
  509. "search_api_alter_language_control" : {
  510. "status" : 1,
  511. "weight" : "0",
  512. "settings" : { "lang_field" : "", "languages" : { "und" : "und", "fr" : "fr" } }
  513. },
  514. "search_api_alter_add_hierarchy" : { "status" : 0, "weight" : "0", "settings" : { "fields" : [] } },
  515. "search_api_alter_add_aggregation" : { "status" : 0, "weight" : "0", "settings" : [] },
  516. "search_api_alter_add_url" : { "status" : 0, "weight" : "0", "settings" : [] },
  517. "search_api_alter_add_viewed_entity" : { "status" : 0, "weight" : "0", "settings" : { "mode" : "full" } }
  518. },
  519. "processors" : {
  520. "content_taxonomy_autocomplete_moderated_terms" : { "status" : 0, "weight" : "0", "settings" : { "fields" : [] } },
  521. "search_api_case_ignore" : {
  522. "status" : 1,
  523. "weight" : "0",
  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_html_filter" : {
  533. "status" : 0,
  534. "weight" : "10",
  535. "settings" : {
  536. "fields" : { "description" : true, "synonyms_synonym" : true, "name_field" : true },
  537. "title" : 0,
  538. "alt" : 1,
  539. "tags" : "h1 = 5\\r\\nh2 = 3\\r\\nh3 = 2\\r\\nstrong = 2\\r\\nb = 2\\r\\nem = 1.5\\r\\nu = 1.5"
  540. }
  541. },
  542. "search_api_transliteration" : {
  543. "status" : 0,
  544. "weight" : "15",
  545. "settings" : { "fields" : {
  546. "description" : true,
  547. "materio_search_api_term_property_dup_name" : true,
  548. "synonyms_synonym" : true,
  549. "name_field" : true
  550. }
  551. }
  552. },
  553. "search_api_tokenizer" : {
  554. "status" : 0,
  555. "weight" : "20",
  556. "settings" : {
  557. "fields" : { "description" : true },
  558. "spaces" : "[^[:alnum:]]",
  559. "ignorable" : "[\\u0027]"
  560. }
  561. },
  562. "search_api_stopwords" : {
  563. "status" : 0,
  564. "weight" : "30",
  565. "settings" : {
  566. "fields" : { "description" : true, "synonyms_synonym" : true, "name_field" : true },
  567. "file" : "",
  568. "stopwords" : "but\\r\\ndid\\r\\nthe this that those\\r\\netc"
  569. }
  570. },
  571. "search_api_highlighting" : {
  572. "status" : 0,
  573. "weight" : "35",
  574. "settings" : {
  575. "prefix" : "\\u003Cstrong\\u003E",
  576. "suffix" : "\\u003C\\/strong\\u003E",
  577. "excerpt" : 1,
  578. "excerpt_length" : "256",
  579. "exclude_fields" : [],
  580. "highlight" : "always"
  581. }
  582. }
  583. }
  584. },
  585. "enabled" : "1",
  586. "read_only" : "0"
  587. }');
  588. return $items;
  589. }