From 6402fc7ab8f6343defbee7111dee7dd16a5082fc Mon Sep 17 00:00:00 2001 From: Bachir Soussi Chiadmi Date: Fri, 7 Feb 2014 10:10:15 +0100 Subject: [PATCH 1/4] re-added own boosts --- search_api.admin.inc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/search_api.admin.inc b/search_api.admin.inc index f4210f4..b2269d6 100644 --- a/search_api.admin.inc +++ b/search_api.admin.inc @@ -1658,8 +1658,9 @@ function search_api_admin_index_fields(array $form, array &$form_state, SearchAp // An array of option arrays for types, keyed by nesting level. $types = array(0 => search_api_field_types()); $entity_types = entity_get_info(); - $boosts = drupal_map_assoc(array('0.1', '0.2', '0.3', '0.5', '0.8', '1.0', '2.0', '3.0', '5.0', '8.0', '13.0', '21.0')); - + //$boosts = drupal_map_assoc(array('0.1', '0.2', '0.3', '0.5', '0.8', '1.0', '2.0', '3.0', '5.0', '8.0', '13.0', '21.0')); + $boosts = drupal_map_assoc(array('0.1', '0.2', '0.3', '0.5', '0.8', '1.0', '2.0', '3.0', '5.0', '8.0', '13.0', '21.0', '100', '1000', '1010', '1020', '1030', '1040', '1050', '1060')); + $fulltext_types = array(0 => array('text')); // Add all custom data types with fallback "text" to fulltext types as well. foreach (search_api_get_data_type_info() as $id => $type) { -- 2.3.5