Explorar el Código

materio_search_api
updated dynamic field definition
https://drupal.org/comment/8188439#comment-8188439

Bachir Soussi Chiadmi hace 11 años
padre
commit
3757a19ce7
Se han modificado 1 ficheros con 7 adiciones y 2 borrados
  1. 7 2
      materio_search_api.module

+ 7 - 2
materio_search_api.module

@@ -107,13 +107,18 @@ function materio_search_api_access_search(){
 function materio_search_api_search_api_data_type_info() {
   return array(
     'edge_n2_kw_text' => array(
-      'name' => t('Fulltext (partial)'),
+      'name' => t('Fulltext (w/ partial matching)'),
       'fallback' => 'text',
+      'prefix' => 'tem',
+      'always multiValued' => TRUE,
     ),
   );
-  return $types;
 }
 
+/**
+* - - - - - - - - - - - -  SOLR  - - - - - - - - - - - - 
+*/
+
 /**
  * Implements hook_search_api_solr_dynamic_field_info().
  *