Selaa lähdekoodia

added more boost

bachy 12 vuotta sitten
vanhempi
commit
29f7711833
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      search_api.admin.inc

+ 1 - 1
search_api.admin.inc

@@ -1480,7 +1480,7 @@ function search_api_admin_index_fields(array $form, array &$form_state, SearchAp
   $fulltext_type = array(0 => 'text');
   $entity_types = entity_get_info();
   $default_types = search_api_default_field_types();
-  $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', '5000', '10000', '20000', '40000', '80000', '160000', '320000'));
 
   $form_state['index'] = $index;
   $form['#theme'] = 'search_api_admin_fields_table';