function apachesolr_autocomplete_engines in Apache Solr Autocomplete 7.2
Returns all the available engines to handle autocomplete.
TODO: This should call a hook, whose implementations should return the info.
Return value
array
1 call to apachesolr_autocomplete_engines()
- apachesolr_autocomplete_get_default_context in ./
apachesolr_autocomplete.module - Return the default config for the current context.
File
- ./
apachesolr_autocomplete.module, line 110 - Alters search forms to suggest terms using Apache Solr using AJAX.
Code
function apachesolr_autocomplete_engines() {
$suggestion_engines = array(
'word_completion' => array(
'enabled' => TRUE,
),
'additional_term' => array(
'enabled' => TRUE,
'spellcheck_suggest' => TRUE,
'suggest_keywords' => TRUE,
),
);
return $suggestion_engines;
}