diff --git a/search_api.admin.inc b/search_api.admin.inc index a327581e..9a5122ee 100644 --- a/search_api.admin.inc +++ b/search_api.admin.inc @@ -1480,8 +1480,8 @@ 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', '5000', '10000', '20000', '40000', '80000', '160000', '320000')); - + // $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')); + $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')); $form_state['index'] = $index; $form['#theme'] = 'search_api_admin_fields_table'; $form['#tree'] = TRUE; diff --git a/search_api.module b/search_api.module index 2e4be19c..ba274655 100644 --- a/search_api.module +++ b/search_api.module @@ -1636,6 +1636,10 @@ function search_api_extract_fields(EntityMetadataWrapper $wrapper, array $fields foreach ($nested as $prefix => $nested_fields) { if (isset($wrapper->$prefix)) { $nested_fields = search_api_extract_fields($wrapper->$prefix, $nested_fields, $value_options); + # http://drupal.org/node/1873910#comment-6876200 + // $subwrapper = $wrapper->$prefix; + // $subwrapper->language( $wrapper->language->value() ); + // $nested_fields = search_api_extract_fields($subwrapper, $nested_fields, $value_options); foreach ($nested_fields as $field => $info) { $fields["$prefix:$field"] = $info; }