ソースを参照

updated materio_feature

Bachir Soussi Chiadmi 8 年 前
コミット
1658e609f8

+ 45 - 25
sites/all/modules/features/materio_search/materio_search.features.inc

@@ -192,23 +192,37 @@ function materio_search_default_search_api_index() {
       "entity_translation_language" : "en",
       "fields" : {
         "author" : { "type" : "integer", "entity_type" : "user" },
-        "body:value" : { "type" : "text" },
-        "field_description:value" : { "type" : "text" },
-        "field_nature_titre" : { "type" : "text", "boost" : "0.3" },
+        "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", "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.0" },
+        "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" },
+        "title_field" : {
+          "type" : "text",
+          "boost" : "3.0",
+          "real_type" : "edge_n2_kw_mapped_text"
+        },
         "type" : { "type" : "string" }
       },
       "data_alter_callbacks" : {
@@ -274,25 +288,31 @@ function materio_search_default_search_api_index() {
       "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" },
+        "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" },
-        "search_api_language" : { "type" : "string" },
+        "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" },
-        "body:value" : { "type" : "text" },
-        "field_description:value" : { "type" : "text" }
+        "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" : {