materio_search.features.inc 23 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590
  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. "materio_search_api_term_property_dup_name" : { "type" : "text", "real_type" : "edge_n2_kw_text" },
  387. "name" : { "type" : "text", "real_type" : "edge_n2_kw_text" },
  388. "name_field" : { "type" : "text", "real_type" : "edge_n2_kw_text" },
  389. "search_api_language" : { "type" : "string" },
  390. "synonyms" : {
  391. "type" : "list\\u003Ctext\\u003E",
  392. "real_type" : "list\\u003Cedge_n2_kw_text\\u003E"
  393. },
  394. "synonyms_synonym" : {
  395. "type" : "list\\u003Ctext\\u003E",
  396. "real_type" : "list\\u003Cedge_n2_kw_text\\u003E"
  397. }
  398. },
  399. "data_alter_callbacks" : {
  400. "search_api_alter_bundle_filter" : {
  401. "status" : 1,
  402. "weight" : "-10",
  403. "settings" : {
  404. "default" : "0",
  405. "bundles" : { "tag_libres" : "tag_libres", "onthologie" : "onthologie" }
  406. }
  407. },
  408. "search_api_alter_language_control" : {
  409. "status" : 1,
  410. "weight" : "0",
  411. "settings" : { "lang_field" : "", "languages" : { "und" : "und", "en" : "en" } }
  412. },
  413. "search_api_alter_add_hierarchy" : { "status" : 0, "weight" : "0", "settings" : { "fields" : [] } },
  414. "search_api_alter_add_aggregation" : { "status" : 0, "weight" : "0", "settings" : [] },
  415. "search_api_alter_add_url" : { "status" : 0, "weight" : "0", "settings" : [] },
  416. "search_api_alter_add_viewed_entity" : { "status" : 0, "weight" : "0", "settings" : { "mode" : "full" } }
  417. },
  418. "processors" : {
  419. "content_taxonomy_autocomplete_moderated_terms" : { "status" : 0, "weight" : "0", "settings" : { "fields" : [] } },
  420. "search_api_case_ignore" : {
  421. "status" : 1,
  422. "weight" : "0",
  423. "settings" : { "fields" : { "synonyms_synonym" : true, "name_field" : true } }
  424. },
  425. "search_api_html_filter" : {
  426. "status" : 0,
  427. "weight" : "10",
  428. "settings" : {
  429. "fields" : { "synonyms_synonym" : true, "name_field" : true },
  430. "title" : 0,
  431. "alt" : 1,
  432. "tags" : "h1 = 5\\r\\nh2 = 3\\r\\nh3 = 2\\r\\nstrong = 2\\r\\nb = 2\\r\\nem = 1.5\\r\\nu = 1.5"
  433. }
  434. },
  435. "search_api_transliteration" : {
  436. "status" : 0,
  437. "weight" : "15",
  438. "settings" : { "fields" : {
  439. "name" : true,
  440. "synonyms" : true,
  441. "materio_search_api_term_property_dup_name" : true,
  442. "synonyms_synonym" : true,
  443. "name_field" : true
  444. }
  445. }
  446. },
  447. "search_api_tokenizer" : {
  448. "status" : 0,
  449. "weight" : "20",
  450. "settings" : { "fields" : [], "spaces" : "[^[:alnum:]]", "ignorable" : "[\\u0027]" }
  451. },
  452. "search_api_stopwords" : {
  453. "status" : 0,
  454. "weight" : "30",
  455. "settings" : {
  456. "fields" : { "synonyms_synonym" : true, "name_field" : true },
  457. "file" : "",
  458. "stopwords" : "but\\r\\ndid\\r\\nthe this that those\\r\\netc"
  459. }
  460. },
  461. "search_api_highlighting" : {
  462. "status" : 0,
  463. "weight" : "35",
  464. "settings" : {
  465. "prefix" : "\\u003Cstrong\\u003E",
  466. "suffix" : "\\u003C\\/strong\\u003E",
  467. "excerpt" : 1,
  468. "excerpt_length" : "256",
  469. "exclude_fields" : [],
  470. "highlight" : "always"
  471. }
  472. }
  473. }
  474. },
  475. "enabled" : "1",
  476. "read_only" : "0"
  477. }');
  478. $items['referencement_fr'] = entity_import('search_api_index', '{
  479. "name" : "Autocomplet FR",
  480. "machine_name" : "referencement_fr",
  481. "description" : null,
  482. "server" : "materio_solr3_fr",
  483. "item_type" : "taxonomy_term",
  484. "options" : {
  485. "index_directly" : 0,
  486. "cron_limit" : "50",
  487. "entity_translation_language" : "fr",
  488. "fields" : {
  489. "description" : { "type" : "text", "boost" : "0.3" },
  490. "materio_search_api_term_property_dup_name" : { "type" : "text", "real_type" : "edge_n2_kw_mapped_text" },
  491. "name" : { "type" : "text" },
  492. "name_field" : { "type" : "text", "real_type" : "edge_n2_kw_text" },
  493. "search_api_language" : { "type" : "string" },
  494. "synonyms_synonym" : {
  495. "type" : "list\\u003Ctext\\u003E",
  496. "real_type" : "list\\u003Cedge_n2_kw_text\\u003E"
  497. }
  498. },
  499. "data_alter_callbacks" : {
  500. "search_api_alter_bundle_filter" : {
  501. "status" : 1,
  502. "weight" : "-10",
  503. "settings" : {
  504. "default" : "0",
  505. "bundles" : { "tag_libres" : "tag_libres", "onthologie" : "onthologie" }
  506. }
  507. },
  508. "search_api_alter_language_control" : {
  509. "status" : 1,
  510. "weight" : "0",
  511. "settings" : { "lang_field" : "", "languages" : { "und" : "und", "fr" : "fr" } }
  512. },
  513. "search_api_alter_add_hierarchy" : { "status" : 0, "weight" : "0", "settings" : { "fields" : [] } },
  514. "search_api_alter_add_aggregation" : { "status" : 0, "weight" : "0", "settings" : [] },
  515. "search_api_alter_add_url" : { "status" : 0, "weight" : "0", "settings" : [] },
  516. "search_api_alter_add_viewed_entity" : { "status" : 0, "weight" : "0", "settings" : { "mode" : "full" } }
  517. },
  518. "processors" : {
  519. "content_taxonomy_autocomplete_moderated_terms" : { "status" : 0, "weight" : "0", "settings" : { "fields" : [] } },
  520. "search_api_case_ignore" : {
  521. "status" : 1,
  522. "weight" : "0",
  523. "settings" : { "fields" : {
  524. "description" : true,
  525. "materio_search_api_term_property_dup_name" : true,
  526. "synonyms_synonym" : true,
  527. "name_field" : true
  528. }
  529. }
  530. },
  531. "search_api_html_filter" : {
  532. "status" : 0,
  533. "weight" : "10",
  534. "settings" : {
  535. "fields" : { "description" : true, "synonyms_synonym" : true, "name_field" : true },
  536. "title" : 0,
  537. "alt" : 1,
  538. "tags" : "h1 = 5\\r\\nh2 = 3\\r\\nh3 = 2\\r\\nstrong = 2\\r\\nb = 2\\r\\nem = 1.5\\r\\nu = 1.5"
  539. }
  540. },
  541. "search_api_transliteration" : {
  542. "status" : 0,
  543. "weight" : "15",
  544. "settings" : { "fields" : {
  545. "description" : true,
  546. "materio_search_api_term_property_dup_name" : true,
  547. "synonyms_synonym" : true,
  548. "name_field" : true
  549. }
  550. }
  551. },
  552. "search_api_tokenizer" : {
  553. "status" : 0,
  554. "weight" : "20",
  555. "settings" : {
  556. "fields" : { "description" : true },
  557. "spaces" : "[^[:alnum:]]",
  558. "ignorable" : "[\\u0027]"
  559. }
  560. },
  561. "search_api_stopwords" : {
  562. "status" : 0,
  563. "weight" : "30",
  564. "settings" : {
  565. "fields" : { "description" : true, "synonyms_synonym" : true, "name_field" : true },
  566. "file" : "",
  567. "stopwords" : "but\\r\\ndid\\r\\nthe this that those\\r\\netc"
  568. }
  569. },
  570. "search_api_highlighting" : {
  571. "status" : 0,
  572. "weight" : "35",
  573. "settings" : {
  574. "prefix" : "\\u003Cstrong\\u003E",
  575. "suffix" : "\\u003C\\/strong\\u003E",
  576. "excerpt" : 1,
  577. "excerpt_length" : "256",
  578. "exclude_fields" : [],
  579. "highlight" : "always"
  580. }
  581. }
  582. }
  583. },
  584. "enabled" : "1",
  585. "read_only" : "0"
  586. }');
  587. return $items;
  588. }