| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706 | 
							- <?php
 
- /**
 
-  * @file
 
-  * materio_search.features.inc
 
-  */
 
- /**
 
-  * Implements hook_ctools_plugin_api().
 
-  */
 
- function materio_search_ctools_plugin_api($module = NULL, $api = NULL) {
 
-   if ($module == "strongarm" && $api == "strongarm") {
 
-     return array("version" => "1");
 
-   }
 
- }
 
- /**
 
-  * Implements hook_default_search_api_index().
 
-  */
 
- function materio_search_default_search_api_index() {
 
-   $items = array();
 
-   $items['breves_en'] = entity_import('search_api_index', '{
 
-     "name" : "Breves EN",
 
-     "machine_name" : "breves_en",
 
-     "description" : null,
 
-     "server" : "materio_solr3_en",
 
-     "item_type" : "node",
 
-     "options" : {
 
-       "index_directly" : 0,
 
-       "cron_limit" : "50",
 
-       "entity_translation_language" : "en",
 
-       "fields" : {
 
-         "type" : { "type" : "string" },
 
-         "title" : { "type" : "text" },
 
-         "status" : { "type" : "boolean" },
 
-         "author" : { "type" : "integer", "entity_type" : "user" },
 
-         "title_field" : { "type" : "text" },
 
-         "search_api_language" : { "type" : "string" },
 
-         "search_api_access_node" : { "type" : "list\\u003Cstring\\u003E" },
 
-         "body:value" : { "type" : "text" },
 
-         "field_tags_libres:synonyms_synonym" : { "type" : "list\\u003Clist\\u003Ctext\\u003E\\u003E", "boost" : "5000" },
 
-         "field_tags_libres:name_field" : { "type" : "list\\u003Ctext\\u003E", "boost" : "5000" },
 
-         "field_onthologie:synonyms_synonym" : { "type" : "list\\u003Clist\\u003Ctext\\u003E\\u003E", "boost" : "10000" },
 
-         "field_onthologie:name_field" : { "type" : "list\\u003Ctext\\u003E", "boost" : "10000" }
 
-       },
 
-       "data_alter_callbacks" : {
 
-         "search_api_alter_bundle_filter" : {
 
-           "status" : 1,
 
-           "weight" : "-10",
 
-           "settings" : { "default" : "0", "bundles" : { "breve" : "breve" } }
 
-         },
 
-         "search_api_alter_node_access" : { "status" : 1, "weight" : "0", "settings" : [] },
 
-         "search_api_alter_node_status" : { "status" : 1, "weight" : "0", "settings" : [] },
 
-         "search_api_alter_language_control" : {
 
-           "status" : 1,
 
-           "weight" : "0",
 
-           "settings" : { "lang_field" : "", "languages" : { "und" : "und", "en" : "en" } }
 
-         },
 
-         "search_api_alter_add_viewed_entity" : { "status" : 0, "weight" : "0", "settings" : { "mode" : "full" } },
 
-         "search_api_alter_add_url" : { "status" : 0, "weight" : "0", "settings" : [] },
 
-         "search_api_alter_add_aggregation" : { "status" : 0, "weight" : "0", "settings" : [] },
 
-         "search_api_alter_add_hierarchy" : { "status" : 0, "weight" : "0", "settings" : { "fields" : [] } }
 
-       },
 
-       "processors" : {
 
-         "search_api_case_ignore" : {
 
-           "status" : 1,
 
-           "weight" : "0",
 
-           "settings" : { "fields" : { "title" : true, "title_field" : true } }
 
-         },
 
-         "search_api_html_filter" : {
 
-           "status" : 0,
 
-           "weight" : "10",
 
-           "settings" : {
 
-             "fields" : { "title" : true, "title_field" : true },
 
-             "title" : 0,
 
-             "alt" : 1,
 
-             "tags" : "h1 = 5\\r\\nh2 = 3\\r\\nh3 = 2\\r\\nstrong = 2\\r\\nb = 2\\r\\nem = 1.5\\r\\nu = 1.5"
 
-           }
 
-         },
 
-         "search_api_tokenizer" : {
 
-           "status" : 0,
 
-           "weight" : "20",
 
-           "settings" : {
 
-             "fields" : { "title" : true, "title_field" : true },
 
-             "spaces" : "[^[:alnum:]]",
 
-             "ignorable" : "[\\u0027]"
 
-           }
 
-         },
 
-         "search_api_stopwords" : {
 
-           "status" : 0,
 
-           "weight" : "30",
 
-           "settings" : {
 
-             "fields" : { "title" : true, "title_field" : true },
 
-             "file" : "",
 
-             "stopwords" : "but\\r\\ndid\\r\\nthe this that those\\r\\netc"
 
-           }
 
-         }
 
-       }
 
-     },
 
-     "enabled" : "1",
 
-     "read_only" : "0"
 
-   }');
 
-   $items['breves_fr'] = entity_import('search_api_index', '{
 
-     "name" : "Breves FR",
 
-     "machine_name" : "breves_fr",
 
-     "description" : null,
 
-     "server" : "materio_solr3_fr",
 
-     "item_type" : "node",
 
-     "options" : {
 
-       "index_directly" : 0,
 
-       "cron_limit" : "50",
 
-       "entity_translation_language" : "fr",
 
-       "fields" : {
 
-         "type" : { "type" : "string" },
 
-         "title" : { "type" : "text" },
 
-         "status" : { "type" : "boolean" },
 
-         "author" : { "type" : "integer", "entity_type" : "user" },
 
-         "title_field" : { "type" : "text" },
 
-         "search_api_language" : { "type" : "string" },
 
-         "search_api_access_node" : { "type" : "list\\u003Cstring\\u003E" },
 
-         "body:value" : { "type" : "text" },
 
-         "field_tags_libres:synonyms_synonym" : { "type" : "list\\u003Clist\\u003Ctext\\u003E\\u003E", "boost" : "5000" },
 
-         "field_tags_libres:name_field" : { "type" : "list\\u003Ctext\\u003E", "boost" : "5000" },
 
-         "field_onthologie:synonyms_synonym" : { "type" : "list\\u003Clist\\u003Ctext\\u003E\\u003E", "boost" : "10000" },
 
-         "field_onthologie:name_field" : { "type" : "list\\u003Ctext\\u003E", "boost" : "10000" }
 
-       },
 
-       "data_alter_callbacks" : {
 
-         "search_api_alter_bundle_filter" : {
 
-           "status" : 1,
 
-           "weight" : "-10",
 
-           "settings" : { "default" : "0", "bundles" : { "breve" : "breve" } }
 
-         },
 
-         "search_api_alter_node_access" : { "status" : 1, "weight" : "0", "settings" : [] },
 
-         "search_api_alter_node_status" : { "status" : 1, "weight" : "0", "settings" : [] },
 
-         "search_api_alter_language_control" : {
 
-           "status" : 1,
 
-           "weight" : "0",
 
-           "settings" : { "lang_field" : "", "languages" : { "und" : "und", "fr" : "fr" } }
 
-         },
 
-         "search_api_alter_add_viewed_entity" : { "status" : 0, "weight" : "0", "settings" : { "mode" : "full" } },
 
-         "search_api_alter_add_url" : { "status" : 0, "weight" : "0", "settings" : [] },
 
-         "search_api_alter_add_aggregation" : { "status" : 0, "weight" : "0", "settings" : [] },
 
-         "search_api_alter_add_hierarchy" : { "status" : 0, "weight" : "0", "settings" : { "fields" : [] } }
 
-       },
 
-       "processors" : {
 
-         "search_api_case_ignore" : {
 
-           "status" : 1,
 
-           "weight" : "0",
 
-           "settings" : { "fields" : { "title" : true, "title_field" : true } }
 
-         },
 
-         "search_api_html_filter" : {
 
-           "status" : 0,
 
-           "weight" : "10",
 
-           "settings" : {
 
-             "fields" : { "title" : true, "title_field" : true },
 
-             "title" : 0,
 
-             "alt" : 1,
 
-             "tags" : "h1 = 5\\r\\nh2 = 3\\r\\nh3 = 2\\r\\nstrong = 2\\r\\nb = 2\\r\\nem = 1.5\\r\\nu = 1.5"
 
-           }
 
-         },
 
-         "search_api_tokenizer" : {
 
-           "status" : 0,
 
-           "weight" : "20",
 
-           "settings" : {
 
-             "fields" : { "title" : true, "title_field" : true },
 
-             "spaces" : "[^[:alnum:]]",
 
-             "ignorable" : "[\\u0027]"
 
-           }
 
-         },
 
-         "search_api_stopwords" : {
 
-           "status" : 0,
 
-           "weight" : "30",
 
-           "settings" : {
 
-             "fields" : { "title" : true, "title_field" : true },
 
-             "file" : "",
 
-             "stopwords" : "but\\r\\ndid\\r\\nthe this that those\\r\\netc"
 
-           }
 
-         }
 
-       }
 
-     },
 
-     "enabled" : "1",
 
-     "read_only" : "0"
 
-   }');
 
-   $items['materiaux_breves'] = entity_import('search_api_index', '{
 
-     "name" : "Materiaux Breves",
 
-     "machine_name" : "materiaux_breves",
 
-     "description" : null,
 
-     "server" : null,
 
-     "item_type" : "node",
 
-     "options" : {
 
-       "index_directly" : 0,
 
-       "cron_limit" : "25",
 
-       "fields" : {
 
-         "type" : { "type" : "text", "boost" : "0.3" },
 
-         "title" : { "type" : "text" },
 
-         "status" : { "type" : "boolean" },
 
-         "author" : { "type" : "integer", "entity_type" : "user" },
 
-         "field_nature_titre" : { "type" : "text" },
 
-         "title_field" : { "type" : "text" },
 
-         "field_reference_materio" : { "type" : "text" },
 
-         "search_api_language" : { "type" : "string" },
 
-         "search_api_access_node" : { "type" : "list\\u003Cstring\\u003E" },
 
-         "field_description:value" : { "type" : "text", "boost" : "0.3" },
 
-         "field_tags_libres:name" : { "type" : "list\\u003Ctext\\u003E", "boost" : "2.0" },
 
-         "field_tags_libres:description" : { "type" : "list\\u003Ctext\\u003E", "boost" : "2.0" },
 
-         "field_tags_libres:synonyms_synonym" : { "type" : "list\\u003Clist\\u003Ctext\\u003E\\u003E", "boost" : "2.0" },
 
-         "field_onthologie:name" : { "type" : "list\\u003Ctext\\u003E", "boost" : "2.0" },
 
-         "field_onthologie:description" : { "type" : "list\\u003Ctext\\u003E", "boost" : "2.0" },
 
-         "field_onthologie:synonyms_synonym" : { "type" : "list\\u003Clist\\u003Ctext\\u003E\\u003E", "boost" : "2.0" },
 
-         "field_company_fab:name" : { "type" : "list\\u003Ctext\\u003E", "boost" : "0.3" },
 
-         "field_company_fab:description" : { "type" : "list\\u003Ctext\\u003E", "boost" : "0.3" },
 
-         "field_company_fab:synonyms_synonym" : { "type" : "list\\u003Clist\\u003Ctext\\u003E\\u003E", "boost" : "3.0" },
 
-         "field_company_distrib:name" : { "type" : "list\\u003Ctext\\u003E", "boost" : "0.3" },
 
-         "field_company_distrib:description" : { "type" : "list\\u003Ctext\\u003E", "boost" : "0.3" },
 
-         "field_company_distrib:synonyms_synonym" : { "type" : "list\\u003Clist\\u003Ctext\\u003E\\u003E", "boost" : "0.3" },
 
-         "field_materiau_ref:title" : { "type" : "list\\u003Ctext\\u003E", "boost" : "0.3" },
 
-         "field_materiau_ref:status" : { "type" : "list\\u003Cinteger\\u003E" },
 
-         "field_materiau_ref:field_tags_libres" : {
 
-           "type" : "list\\u003Clist\\u003Cinteger\\u003E\\u003E",
 
-           "entity_type" : "taxonomy_term"
 
-         },
 
-         "field_materiau_ref:field_onthologie" : {
 
-           "type" : "list\\u003Clist\\u003Cinteger\\u003E\\u003E",
 
-           "entity_type" : "taxonomy_term"
 
-         },
 
-         "field_infos_from_company:value" : { "type" : "text", "boost" : "0.3" }
 
-       },
 
-       "data_alter_callbacks" : {
 
-         "search_api_alter_bundle_filter" : {
 
-           "status" : 1,
 
-           "weight" : "-50",
 
-           "settings" : {
 
-             "default" : "0",
 
-             "bundles" : { "breve" : "breve", "materiau" : "materiau" }
 
-           }
 
-         },
 
-         "search_api_alter_node_access" : { "status" : 1, "weight" : "-49", "settings" : [] },
 
-         "search_api_alter_language_control" : {
 
-           "status" : 0,
 
-           "weight" : "-48",
 
-           "settings" : { "lang_field" : "", "languages" : [] }
 
-         },
 
-         "search_api_alter_add_hierarchy" : { "status" : 0, "weight" : "-47", "settings" : { "fields" : [] } },
 
-         "search_api_alter_add_viewed_entity" : { "status" : 0, "weight" : "-46", "settings" : { "mode" : "full" } },
 
-         "search_api_alter_add_url" : { "status" : 0, "weight" : "-45", "settings" : [] },
 
-         "search_api_alter_add_aggregation" : { "status" : 0, "weight" : "-44", "settings" : [] },
 
-         "search_api_alter_node_status" : { "status" : 0, "weight" : "-43", "settings" : [] }
 
-       },
 
-       "processors" : {
 
-         "search_api_case_ignore" : {
 
-           "status" : 1,
 
-           "weight" : "0",
 
-           "settings" : { "fields" : {
 
-               "title" : true,
 
-               "title_field" : true,
 
-               "field_reference_materio" : true,
 
-               "field_tags_libres:name" : true
 
-             }
 
-           }
 
-         },
 
-         "search_api_html_filter" : {
 
-           "status" : 1,
 
-           "weight" : "10",
 
-           "settings" : {
 
-             "fields" : { "title" : true, "title_field" : true, "field_reference_materio" : true },
 
-             "title" : 0,
 
-             "alt" : 1,
 
-             "tags" : "h1 = 5\\r\\nh2 = 3\\r\\nh3 = 2\\r\\nstrong = 2\\r\\nb = 2\\r\\nem = 1.5\\r\\nu = 1.5"
 
-           }
 
-         },
 
-         "search_api_tokenizer" : {
 
-           "status" : 0,
 
-           "weight" : "20",
 
-           "settings" : {
 
-             "fields" : {
 
-               "title" : true,
 
-               "title_field" : true,
 
-               "field_reference_materio" : true,
 
-               "field_tags_libres:name" : true
 
-             },
 
-             "spaces" : "[^[:alnum:]]",
 
-             "ignorable" : "[\\u0027]"
 
-           }
 
-         },
 
-         "search_api_stopwords" : {
 
-           "status" : 0,
 
-           "weight" : "30",
 
-           "settings" : {
 
-             "fields" : {
 
-               "title" : true,
 
-               "title_field" : true,
 
-               "field_reference_materio" : true,
 
-               "field_tags_libres:name" : true
 
-             },
 
-             "file" : "",
 
-             "stopwords" : "but\\r\\ndid\\r\\nthe this that those\\r\\netc"
 
-           }
 
-         }
 
-       }
 
-     },
 
-     "enabled" : "0",
 
-     "read_only" : "0"
 
-   }');
 
-   $items['materiaux_breves_en'] = entity_import('search_api_index', '{
 
-     "name" : "Materiaux Breves EN",
 
-     "machine_name" : "materiaux_breves_en",
 
-     "description" : null,
 
-     "server" : "materio_solr3_en",
 
-     "item_type" : "node",
 
-     "options" : {
 
-       "index_directly" : 0,
 
-       "cron_limit" : "50",
 
-       "entity_translation_language" : "en",
 
-       "fields" : {
 
-         "nid" : { "type" : "integer" },
 
-         "type" : { "type" : "string" },
 
-         "status" : { "type" : "boolean" },
 
-         "author" : { "type" : "integer", "entity_type" : "user" },
 
-         "materio_search_api_onthologie_term_1_text" : { "type" : "text", "boost" : "13.0" },
 
-         "materio_search_api_onthologie_term_2_text" : { "type" : "text", "boost" : "8.0" },
 
-         "materio_search_api_onthologie_term_3_text" : { "type" : "text", "boost" : "5.0" },
 
-         "materio_search_api_onthologie_term_4_text" : { "type" : "text", "boost" : "3.0" },
 
-         "materio_search_api_onthologie_term_5_text" : { "type" : "text", "boost" : "2.0" },
 
-         "materio_search_api_onthologie_term_others_text" : { "type" : "list\\u003Ctext\\u003E" },
 
-         "materio_search_api_taglibres_text" : { "type" : "list\\u003Ctext\\u003E", "boost" : "100" },
 
-         "title_field" : { "type" : "text", "boost" : "3.0" },
 
-         "field_nature_titre" : { "type" : "text", "boost" : "0.3" },
 
-         "field_reference_materio" : { "type" : "text", "boost" : "0.3" },
 
-         "materio_search_api_node_propertie_companie" : { "type" : "list\\u003Ctext\\u003E" },
 
-         "search_api_language" : { "type" : "string" },
 
-         "search_api_access_node" : { "type" : "list\\u003Cstring\\u003E" },
 
-         "body:value" : { "type" : "text" },
 
-         "field_description:value" : { "type" : "text" }
 
-       },
 
-       "data_alter_callbacks" : {
 
-         "search_api_alter_bundle_filter" : {
 
-           "status" : 1,
 
-           "weight" : "-10",
 
-           "settings" : {
 
-             "default" : "0",
 
-             "bundles" : { "materiau" : "materiau", "breve" : "breve" }
 
-           }
 
-         },
 
-         "search_api_alter_node_access" : { "status" : 1, "weight" : "0", "settings" : [] },
 
-         "search_api_alter_node_status" : { "status" : 1, "weight" : "0", "settings" : [] },
 
-         "search_api_alter_language_control" : {
 
-           "status" : 1,
 
-           "weight" : "0",
 
-           "settings" : { "lang_field" : "", "languages" : { "und" : "und", "en" : "en" } }
 
-         },
 
-         "search_api_alter_add_viewed_entity" : { "status" : 0, "weight" : "0", "settings" : { "mode" : "full" } },
 
-         "search_api_alter_add_url" : { "status" : 0, "weight" : "0", "settings" : [] },
 
-         "search_api_alter_add_aggregation" : { "status" : 0, "weight" : "0", "settings" : [] },
 
-         "search_api_alter_add_hierarchy" : { "status" : 0, "weight" : "0", "settings" : { "fields" : [] } }
 
-       },
 
-       "processors" : {
 
-         "search_api_case_ignore" : { "status" : 1, "weight" : "0", "settings" : { "fields" : [] } },
 
-         "search_api_html_filter" : {
 
-           "status" : 0,
 
-           "weight" : "10",
 
-           "settings" : {
 
-             "fields" : [],
 
-             "title" : 0,
 
-             "alt" : 1,
 
-             "tags" : "h1 = 5\\r\\nh2 = 3\\r\\nh3 = 2\\r\\nstrong = 2\\r\\nb = 2\\r\\nem = 1.5\\r\\nu = 1.5"
 
-           }
 
-         },
 
-         "search_api_tokenizer" : {
 
-           "status" : 0,
 
-           "weight" : "20",
 
-           "settings" : { "fields" : [], "spaces" : "[^[:alnum:]]", "ignorable" : "[\\u0027]" }
 
-         },
 
-         "search_api_stopwords" : {
 
-           "status" : 0,
 
-           "weight" : "30",
 
-           "settings" : {
 
-             "fields" : [],
 
-             "file" : "",
 
-             "stopwords" : "but\\r\\ndid\\r\\nthe this that those\\r\\netc"
 
-           }
 
-         }
 
-       }
 
-     },
 
-     "enabled" : "1",
 
-     "read_only" : "0"
 
-   }');
 
-   $items['materiaux_breves_fr'] = entity_import('search_api_index', '{
 
-     "name" : "Materiaux Breves FR",
 
-     "machine_name" : "materiaux_breves_fr",
 
-     "description" : null,
 
-     "server" : "materio_solr3_fr",
 
-     "item_type" : "node",
 
-     "options" : {
 
-       "index_directly" : 0,
 
-       "cron_limit" : "50",
 
-       "entity_translation_language" : "fr",
 
-       "fields" : {
 
-         "nid" : { "type" : "integer" },
 
-         "type" : { "type" : "string" },
 
-         "status" : { "type" : "boolean" },
 
-         "author" : { "type" : "integer", "entity_type" : "user" },
 
-         "materio_search_api_onthologie_term_1_text" : { "type" : "text", "boost" : "13.0" },
 
-         "materio_search_api_onthologie_term_2_text" : { "type" : "text", "boost" : "8.0" },
 
-         "materio_search_api_onthologie_term_3_text" : { "type" : "text", "boost" : "5.0" },
 
-         "materio_search_api_onthologie_term_4_text" : { "type" : "text", "boost" : "3.0" },
 
-         "materio_search_api_onthologie_term_5_text" : { "type" : "text", "boost" : "2.0" },
 
-         "materio_search_api_onthologie_term_others_text" : { "type" : "list\\u003Ctext\\u003E" },
 
-         "materio_search_api_taglibres_text" : { "type" : "list\\u003Ctext\\u003E", "boost" : "0.1" },
 
-         "title_field" : { "type" : "text", "boost" : "3.0" },
 
-         "field_nature_titre" : { "type" : "text", "boost" : "3.0" },
 
-         "field_reference_materio" : { "type" : "text", "boost" : "0.3" },
 
-         "materio_search_api_node_propertie_companie" : { "type" : "list\\u003Ctext\\u003E" },
 
-         "search_api_language" : { "type" : "string" },
 
-         "search_api_access_node" : { "type" : "list\\u003Cstring\\u003E" },
 
-         "body:value" : { "type" : "text" },
 
-         "field_description:value" : { "type" : "text" }
 
-       },
 
-       "data_alter_callbacks" : {
 
-         "search_api_alter_bundle_filter" : {
 
-           "status" : 1,
 
-           "weight" : "-10",
 
-           "settings" : {
 
-             "default" : "0",
 
-             "bundles" : { "breve" : "breve", "materiau" : "materiau" }
 
-           }
 
-         },
 
-         "search_api_alter_node_access" : { "status" : 1, "weight" : "0", "settings" : [] },
 
-         "search_api_alter_node_status" : { "status" : 1, "weight" : "0", "settings" : [] },
 
-         "search_api_alter_language_control" : {
 
-           "status" : 1,
 
-           "weight" : "0",
 
-           "settings" : { "lang_field" : "", "languages" : { "und" : "und", "fr" : "fr" } }
 
-         },
 
-         "search_api_alter_add_viewed_entity" : { "status" : 0, "weight" : "0", "settings" : { "mode" : "full" } },
 
-         "search_api_alter_add_url" : { "status" : 0, "weight" : "0", "settings" : [] },
 
-         "search_api_alter_add_aggregation" : { "status" : 0, "weight" : "0", "settings" : [] },
 
-         "search_api_alter_add_hierarchy" : { "status" : 0, "weight" : "0", "settings" : { "fields" : [] } }
 
-       },
 
-       "processors" : {
 
-         "search_api_case_ignore" : {
 
-           "status" : 1,
 
-           "weight" : "0",
 
-           "settings" : { "fields" : { "title_field" : true, "field_reference_materio" : true } }
 
-         },
 
-         "search_api_html_filter" : {
 
-           "status" : 0,
 
-           "weight" : "10",
 
-           "settings" : {
 
-             "fields" : { "title_field" : true, "field_reference_materio" : true },
 
-             "title" : 0,
 
-             "alt" : 1,
 
-             "tags" : "h1 = 5\\r\\nh2 = 3\\r\\nh3 = 2\\r\\nstrong = 2\\r\\nb = 2\\r\\nem = 1.5\\r\\nu = 1.5"
 
-           }
 
-         },
 
-         "search_api_tokenizer" : {
 
-           "status" : 0,
 
-           "weight" : "20",
 
-           "settings" : {
 
-             "fields" : { "title_field" : true, "field_reference_materio" : true },
 
-             "spaces" : "[^[:alnum:]]",
 
-             "ignorable" : "[\\u0027]"
 
-           }
 
-         },
 
-         "search_api_stopwords" : {
 
-           "status" : 0,
 
-           "weight" : "30",
 
-           "settings" : {
 
-             "fields" : { "title_field" : true, "field_reference_materio" : true },
 
-             "file" : "",
 
-             "stopwords" : "but\\r\\ndid\\r\\nthe this that those\\r\\netc"
 
-           }
 
-         }
 
-       }
 
-     },
 
-     "enabled" : "1",
 
-     "read_only" : "0"
 
-   }');
 
-   $items['referencement'] = entity_import('search_api_index', '{
 
-     "name" : "R\\u00e9f\\u00e9rencement",
 
-     "machine_name" : "referencement",
 
-     "description" : null,
 
-     "server" : null,
 
-     "item_type" : "taxonomy_term",
 
-     "options" : {
 
-       "index_directly" : 0,
 
-       "cron_limit" : "1000",
 
-       "fields" : {
 
-         "description" : { "type" : "text" },
 
-         "synonyms_synonym" : { "type" : "list\\u003Ctext\\u003E" },
 
-         "name_field" : { "type" : "text" },
 
-         "search_api_language" : { "type" : "string" }
 
-       },
 
-       "data_alter_callbacks" : {
 
-         "search_api_alter_bundle_filter" : {
 
-           "status" : 1,
 
-           "weight" : "-10",
 
-           "settings" : {
 
-             "default" : "0",
 
-             "bundles" : { "onthologie" : "onthologie", "tag_libres" : "tag_libres" }
 
-           }
 
-         },
 
-         "search_api_alter_language_control" : {
 
-           "status" : 0,
 
-           "weight" : "0",
 
-           "settings" : { "lang_field" : "", "languages" : [] }
 
-         },
 
-         "search_api_alter_add_hierarchy" : { "status" : 0, "weight" : "0", "settings" : { "fields" : [] } },
 
-         "search_api_alter_add_aggregation" : { "status" : 1, "weight" : "0", "settings" : [] },
 
-         "search_api_alter_add_url" : { "status" : 0, "weight" : "0", "settings" : [] },
 
-         "search_api_alter_add_viewed_entity" : { "status" : 0, "weight" : "0", "settings" : { "mode" : "full" } }
 
-       },
 
-       "processors" : {
 
-         "search_api_case_ignore" : {
 
-           "status" : 1,
 
-           "weight" : "0",
 
-           "settings" : { "fields" : { "name" : true, "parent" : true, "synonyms_synonym" : true } }
 
-         },
 
-         "search_api_html_filter" : {
 
-           "status" : 0,
 
-           "weight" : "10",
 
-           "settings" : {
 
-             "fields" : { "name" : true, "synonyms_synonym" : true, "vocabulary:name" : true },
 
-             "title" : 0,
 
-             "alt" : 1,
 
-             "tags" : "h1 = 5\\r\\nh2 = 3\\r\\nh3 = 2\\r\\nstrong = 2\\r\\nb = 2\\r\\nem = 1.5\\r\\nu = 1.5"
 
-           }
 
-         },
 
-         "search_api_tokenizer" : {
 
-           "status" : 0,
 
-           "weight" : "20",
 
-           "settings" : {
 
-             "fields" : { "name" : true, "synonyms_synonym" : true, "vocabulary:name" : true },
 
-             "spaces" : "[^[:alnum:]]",
 
-             "ignorable" : "[\\u0027]"
 
-           }
 
-         },
 
-         "search_api_stopwords" : {
 
-           "status" : 0,
 
-           "weight" : "30",
 
-           "settings" : {
 
-             "fields" : { "name" : true, "synonyms_synonym" : true, "vocabulary:name" : true },
 
-             "file" : "",
 
-             "stopwords" : "but\\r\\ndid\\r\\nthe this that those\\r\\netc"
 
-           }
 
-         }
 
-       }
 
-     },
 
-     "enabled" : "0",
 
-     "read_only" : "0"
 
-   }');
 
-   $items['referencement_en'] = entity_import('search_api_index', '{
 
-     "name" : "r\\u00e9f\\u00e9rencement en",
 
-     "machine_name" : "referencement_en",
 
-     "description" : null,
 
-     "server" : "materio_solr3_en",
 
-     "item_type" : "taxonomy_term",
 
-     "options" : {
 
-       "index_directly" : 0,
 
-       "cron_limit" : "50",
 
-       "entity_translation_language" : "en",
 
-       "fields" : {
 
-         "description" : { "type" : "text", "boost" : "0.3" },
 
-         "synonyms_synonym" : {
 
-           "type" : "list\\u003Ctext\\u003E",
 
-           "real_type" : "list\\u003Cedge_n2_kw_text\\u003E"
 
-         },
 
-         "name_field" : { "type" : "text", "real_type" : "edge_n2_kw_text" },
 
-         "search_api_language" : { "type" : "string" }
 
-       },
 
-       "data_alter_callbacks" : {
 
-         "search_api_alter_bundle_filter" : {
 
-           "status" : 1,
 
-           "weight" : "-10",
 
-           "settings" : {
 
-             "default" : "0",
 
-             "bundles" : { "onthologie" : "onthologie", "tag_libres" : "tag_libres" }
 
-           }
 
-         },
 
-         "search_api_alter_language_control" : {
 
-           "status" : 1,
 
-           "weight" : "0",
 
-           "settings" : { "lang_field" : "", "languages" : { "und" : "und", "en" : "en" } }
 
-         },
 
-         "search_api_alter_add_hierarchy" : { "status" : 0, "weight" : "0", "settings" : { "fields" : [] } },
 
-         "search_api_alter_add_aggregation" : { "status" : 0, "weight" : "0", "settings" : [] },
 
-         "search_api_alter_add_url" : { "status" : 0, "weight" : "0", "settings" : [] },
 
-         "search_api_alter_add_viewed_entity" : { "status" : 0, "weight" : "0", "settings" : { "mode" : "full" } }
 
-       },
 
-       "processors" : {
 
-         "search_api_case_ignore" : {
 
-           "status" : 1,
 
-           "weight" : "0",
 
-           "settings" : { "fields" : { "description" : true, "synonyms_synonym" : true, "name_field" : true } }
 
-         },
 
-         "search_api_html_filter" : {
 
-           "status" : 0,
 
-           "weight" : "10",
 
-           "settings" : {
 
-             "fields" : { "description" : true, "synonyms_synonym" : true, "name_field" : true },
 
-             "title" : 0,
 
-             "alt" : 1,
 
-             "tags" : "h1 = 5\\r\\nh2 = 3\\r\\nh3 = 2\\r\\nstrong = 2\\r\\nb = 2\\r\\nem = 1.5\\r\\nu = 1.5"
 
-           }
 
-         },
 
-         "search_api_tokenizer" : {
 
-           "status" : 0,
 
-           "weight" : "20",
 
-           "settings" : {
 
-             "fields" : { "description" : true, "synonyms_synonym" : true, "name_field" : true },
 
-             "spaces" : "[^[:alnum:]]",
 
-             "ignorable" : "[\\u0027]"
 
-           }
 
-         },
 
-         "search_api_stopwords" : {
 
-           "status" : 0,
 
-           "weight" : "30",
 
-           "settings" : {
 
-             "fields" : { "description" : true, "synonyms_synonym" : true, "name_field" : true },
 
-             "file" : "",
 
-             "stopwords" : "but\\r\\ndid\\r\\nthe this that those\\r\\netc"
 
-           }
 
-         }
 
-       }
 
-     },
 
-     "enabled" : "1",
 
-     "read_only" : "0"
 
-   }');
 
-   $items['referencement_fr'] = entity_import('search_api_index', '{
 
-     "name" : "r\\u00e9f\\u00e9rencement fr",
 
-     "machine_name" : "referencement_fr",
 
-     "description" : null,
 
-     "server" : "materio_solr3_fr",
 
-     "item_type" : "taxonomy_term",
 
-     "options" : {
 
-       "index_directly" : 0,
 
-       "cron_limit" : "50",
 
-       "entity_translation_language" : "fr",
 
-       "fields" : {
 
-         "description" : { "type" : "text", "boost" : "0.3" },
 
-         "materio_search_api_term_property_dup_name" : { "type" : "text", "real_type" : "edge_n2_kw_mapped_text" },
 
-         "synonyms_synonym" : {
 
-           "type" : "list\\u003Ctext\\u003E",
 
-           "real_type" : "list\\u003Cedge_n2_kw_text\\u003E"
 
-         },
 
-         "name_field" : { "type" : "text", "real_type" : "edge_n2_kw_text" },
 
-         "search_api_language" : { "type" : "string" }
 
-       },
 
-       "data_alter_callbacks" : {
 
-         "search_api_alter_bundle_filter" : {
 
-           "status" : 1,
 
-           "weight" : "-10",
 
-           "settings" : {
 
-             "default" : "0",
 
-             "bundles" : { "onthologie" : "onthologie", "tag_libres" : "tag_libres" }
 
-           }
 
-         },
 
-         "search_api_alter_language_control" : {
 
-           "status" : 1,
 
-           "weight" : "0",
 
-           "settings" : { "lang_field" : "", "languages" : { "und" : "und", "fr" : "fr" } }
 
-         },
 
-         "search_api_alter_add_hierarchy" : { "status" : 0, "weight" : "0", "settings" : { "fields" : [] } },
 
-         "search_api_alter_add_aggregation" : { "status" : 0, "weight" : "0", "settings" : [] },
 
-         "search_api_alter_add_url" : { "status" : 0, "weight" : "0", "settings" : [] },
 
-         "search_api_alter_add_viewed_entity" : { "status" : 0, "weight" : "0", "settings" : { "mode" : "full" } }
 
-       },
 
-       "processors" : {
 
-         "search_api_case_ignore" : {
 
-           "status" : 1,
 
-           "weight" : "0",
 
-           "settings" : { "fields" : { "description" : true, "synonyms_synonym" : true, "name_field" : true } }
 
-         },
 
-         "search_api_html_filter" : {
 
-           "status" : 0,
 
-           "weight" : "10",
 
-           "settings" : {
 
-             "fields" : { "description" : true, "synonyms_synonym" : true, "name_field" : true },
 
-             "title" : 0,
 
-             "alt" : 1,
 
-             "tags" : "h1 = 5\\r\\nh2 = 3\\r\\nh3 = 2\\r\\nstrong = 2\\r\\nb = 2\\r\\nem = 1.5\\r\\nu = 1.5"
 
-           }
 
-         },
 
-         "search_api_tokenizer" : {
 
-           "status" : 0,
 
-           "weight" : "20",
 
-           "settings" : {
 
-             "fields" : { "description" : true, "synonyms_synonym" : true, "name_field" : true },
 
-             "spaces" : "[^[:alnum:]]",
 
-             "ignorable" : "[\\u0027]"
 
-           }
 
-         },
 
-         "search_api_stopwords" : {
 
-           "status" : 0,
 
-           "weight" : "30",
 
-           "settings" : {
 
-             "fields" : { "description" : true, "synonyms_synonym" : true, "name_field" : true },
 
-             "file" : "",
 
-             "stopwords" : "but\\r\\ndid\\r\\nthe this that those\\r\\netc"
 
-           }
 
-         }
 
-       }
 
-     },
 
-     "enabled" : "1",
 
-     "read_only" : "0"
 
-   }');
 
-   return $items;
 
- }
 
 
  |