123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590 |
- <?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" : {
- "author" : { "type" : "integer", "entity_type" : "user" },
- "body:value" : { "type" : "text" },
- "field_onthologie:name_field" : { "type" : "list\\u003Ctext\\u003E", "boost" : "0.0" },
- "field_onthologie:synonyms_synonym" : { "type" : "list\\u003Clist\\u003Ctext\\u003E\\u003E", "boost" : "0.0" },
- "field_tags_libres:name_field" : { "type" : "list\\u003Ctext\\u003E", "boost" : "0.0" },
- "field_tags_libres:synonyms_synonym" : { "type" : "list\\u003Clist\\u003Ctext\\u003E\\u003E", "boost" : "0.0" },
- "search_api_access_node" : { "type" : "list\\u003Cstring\\u003E" },
- "search_api_language" : { "type" : "string" },
- "status" : { "type" : "boolean" },
- "title" : { "type" : "text" },
- "title_field" : { "type" : "text" },
- "type" : { "type" : "string" }
- },
- "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" : {
- "author" : { "type" : "integer", "entity_type" : "user" },
- "body:value" : { "type" : "text" },
- "field_onthologie:name_field" : { "type" : "list\\u003Ctext\\u003E", "boost" : "0.0" },
- "field_onthologie:synonyms_synonym" : { "type" : "list\\u003Clist\\u003Ctext\\u003E\\u003E", "boost" : "0.0" },
- "field_tags_libres:name_field" : { "type" : "list\\u003Ctext\\u003E", "boost" : "0.0" },
- "field_tags_libres:synonyms_synonym" : { "type" : "list\\u003Clist\\u003Ctext\\u003E\\u003E", "boost" : "0.0" },
- "search_api_access_node" : { "type" : "list\\u003Cstring\\u003E" },
- "search_api_language" : { "type" : "string" },
- "status" : { "type" : "boolean" },
- "title" : { "type" : "text" },
- "title_field" : { "type" : "text" },
- "type" : { "type" : "string" }
- },
- "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_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" : {
- "author" : { "type" : "integer", "entity_type" : "user" },
- "body:value" : { "type" : "text", "boost" : "0.8" },
- "field_description:value" : { "type" : "text", "boost" : "0.8" },
- "field_nature_titre" : {
- "type" : "text",
- "boost" : "3.0",
- "real_type" : "edge_n2_kw_mapped_text"
- },
- "field_reference_materio" : { "type" : "text", "boost" : "0.3" },
- "materio_search_api_node_propertie_companie" : { "type" : "list\\u003Ctext\\u003E" },
- "materio_search_api_onthologie_term_1_text" : { "type" : "text", "real_type" : "edge_n2_kw_mapped_text" },
- "materio_search_api_onthologie_term_2_text" : { "type" : "text", "real_type" : "edge_n2_kw_mapped_text" },
- "materio_search_api_onthologie_term_3_text" : { "type" : "text", "real_type" : "edge_n2_kw_mapped_text" },
- "materio_search_api_onthologie_term_4_text" : { "type" : "text", "real_type" : "edge_n2_kw_mapped_text" },
- "materio_search_api_onthologie_term_5_text" : { "type" : "text", "real_type" : "edge_n2_kw_mapped_text" },
- "materio_search_api_onthologie_term_others_text" : {
- "type" : "list\\u003Ctext\\u003E",
- "real_type" : "list\\u003Cedge_n2_kw_mapped_text\\u003E"
- },
- "materio_search_api_taglibres_text" : {
- "type" : "list\\u003Ctext\\u003E",
- "real_type" : "list\\u003Cedge_n2_kw_mapped_text\\u003E"
- },
- "nid" : { "type" : "integer" },
- "search_api_access_node" : { "type" : "list\\u003Cstring\\u003E" },
- "search_api_language" : { "type" : "string" },
- "status" : { "type" : "boolean" },
- "title_field" : {
- "type" : "text",
- "boost" : "3.0",
- "real_type" : "edge_n2_kw_mapped_text"
- },
- "type" : { "type" : "string" }
- },
- "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" : {
- "author" : { "type" : "integer", "entity_type" : "user" },
- "body:value" : { "type" : "text", "boost" : "0.8" },
- "field_description:value" : { "type" : "text", "boost" : "0.8" },
- "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" },
- "materio_search_api_onthologie_term_1_text" : { "type" : "text", "real_type" : "edge_n2_kw_mapped_text" },
- "materio_search_api_onthologie_term_2_text" : { "type" : "text", "real_type" : "edge_n2_kw_mapped_text" },
- "materio_search_api_onthologie_term_3_text" : { "type" : "text", "real_type" : "edge_n2_kw_mapped_text" },
- "materio_search_api_onthologie_term_4_text" : { "type" : "text", "real_type" : "edge_n2_kw_mapped_text" },
- "materio_search_api_onthologie_term_5_text" : { "type" : "text", "real_type" : "edge_n2_kw_mapped_text" },
- "materio_search_api_onthologie_term_others_text" : {
- "type" : "list\\u003Ctext\\u003E",
- "real_type" : "list\\u003Cedge_n2_kw_mapped_text\\u003E"
- },
- "materio_search_api_taglibres_text" : {
- "type" : "list\\u003Ctext\\u003E",
- "real_type" : "list\\u003Cedge_n2_kw_mapped_text\\u003E"
- },
- "nid" : { "type" : "integer" },
- "search_api_access_node" : { "type" : "list\\u003Cstring\\u003E" },
- "search_api_language" : { "type" : "string" },
- "status" : { "type" : "boolean" },
- "title_field" : { "type" : "text", "boost" : "3.0" },
- "type" : { "type" : "string" }
- },
- "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_en'] = entity_import('search_api_index', '{
- "name" : "Autocomplet 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" : {
- "materio_search_api_term_property_dup_name" : { "type" : "text", "real_type" : "edge_n2_kw_text" },
- "name" : { "type" : "text", "real_type" : "edge_n2_kw_text" },
- "name_field" : { "type" : "text", "real_type" : "edge_n2_kw_text" },
- "search_api_language" : { "type" : "string" },
- "synonyms" : {
- "type" : "list\\u003Ctext\\u003E",
- "real_type" : "list\\u003Cedge_n2_kw_text\\u003E"
- },
- "synonyms_synonym" : {
- "type" : "list\\u003Ctext\\u003E",
- "real_type" : "list\\u003Cedge_n2_kw_text\\u003E"
- }
- },
- "data_alter_callbacks" : {
- "search_api_alter_bundle_filter" : {
- "status" : 1,
- "weight" : "-10",
- "settings" : {
- "default" : "0",
- "bundles" : { "tag_libres" : "tag_libres", "onthologie" : "onthologie" }
- }
- },
- "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" : {
- "content_taxonomy_autocomplete_moderated_terms" : { "status" : 0, "weight" : "0", "settings" : { "fields" : [] } },
- "search_api_case_ignore" : {
- "status" : 1,
- "weight" : "0",
- "settings" : { "fields" : { "synonyms_synonym" : true, "name_field" : true } }
- },
- "search_api_html_filter" : {
- "status" : 0,
- "weight" : "10",
- "settings" : {
- "fields" : { "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_transliteration" : {
- "status" : 0,
- "weight" : "15",
- "settings" : { "fields" : {
- "name" : true,
- "synonyms" : true,
- "materio_search_api_term_property_dup_name" : true,
- "synonyms_synonym" : true,
- "name_field" : true
- }
- }
- },
- "search_api_tokenizer" : {
- "status" : 0,
- "weight" : "20",
- "settings" : { "fields" : [], "spaces" : "[^[:alnum:]]", "ignorable" : "[\\u0027]" }
- },
- "search_api_stopwords" : {
- "status" : 0,
- "weight" : "30",
- "settings" : {
- "fields" : { "synonyms_synonym" : true, "name_field" : true },
- "file" : "",
- "stopwords" : "but\\r\\ndid\\r\\nthe this that those\\r\\netc"
- }
- },
- "search_api_highlighting" : {
- "status" : 0,
- "weight" : "35",
- "settings" : {
- "prefix" : "\\u003Cstrong\\u003E",
- "suffix" : "\\u003C\\/strong\\u003E",
- "excerpt" : 1,
- "excerpt_length" : "256",
- "exclude_fields" : [],
- "highlight" : "always"
- }
- }
- }
- },
- "enabled" : "1",
- "read_only" : "0"
- }');
- $items['referencement_fr'] = entity_import('search_api_index', '{
- "name" : "Autocomplet 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" },
- "name" : { "type" : "text" },
- "name_field" : { "type" : "text", "real_type" : "edge_n2_kw_text" },
- "search_api_language" : { "type" : "string" },
- "synonyms_synonym" : {
- "type" : "list\\u003Ctext\\u003E",
- "real_type" : "list\\u003Cedge_n2_kw_text\\u003E"
- }
- },
- "data_alter_callbacks" : {
- "search_api_alter_bundle_filter" : {
- "status" : 1,
- "weight" : "-10",
- "settings" : {
- "default" : "0",
- "bundles" : { "tag_libres" : "tag_libres", "onthologie" : "onthologie" }
- }
- },
- "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" : {
- "content_taxonomy_autocomplete_moderated_terms" : { "status" : 0, "weight" : "0", "settings" : { "fields" : [] } },
- "search_api_case_ignore" : {
- "status" : 1,
- "weight" : "0",
- "settings" : { "fields" : {
- "description" : true,
- "materio_search_api_term_property_dup_name" : 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_transliteration" : {
- "status" : 0,
- "weight" : "15",
- "settings" : { "fields" : {
- "description" : true,
- "materio_search_api_term_property_dup_name" : true,
- "synonyms_synonym" : true,
- "name_field" : true
- }
- }
- },
- "search_api_tokenizer" : {
- "status" : 0,
- "weight" : "20",
- "settings" : {
- "fields" : { "description" : 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"
- }
- },
- "search_api_highlighting" : {
- "status" : 0,
- "weight" : "35",
- "settings" : {
- "prefix" : "\\u003Cstrong\\u003E",
- "suffix" : "\\u003C\\/strong\\u003E",
- "excerpt" : 1,
- "excerpt_length" : "256",
- "exclude_fields" : [],
- "highlight" : "always"
- }
- }
- }
- },
- "enabled" : "1",
- "read_only" : "0"
- }');
- return $items;
- }
|