You are here

function fuzzysearch_search_api_service_info in Fuzzy Search 7

Implements hook_search_api_service_info().

File

./fuzzysearch.module, line 87
Fuzzysearch module.

Code

function fuzzysearch_search_api_service_info() {
  $services['fuzzysearch_service'] = array(
    'name' => t('Fuzzy Search'),
    'description' => t('<p>Index items using multiple database tables, for fuzzy searches.</p><ul><li>All field types are supported and indexed in a special way, with URI/String and Integer/Duration being equivalent.</li><li>The "direct" parse mode results in the keys being normally split around white-space, only preprocessing might differ.</li><li>Currently, phrase queries are not supported. Additionally, due to MySQL limitations, all searches will be case-insensitive.</li></ul>'),
    'class' => 'FuzzySearchService',
  );
  return $services;
}