search_api_db.module 797 B

12345678910111213141516
  1. <?php
  2. /**
  3. * Implements hook_search_api_service_info().
  4. */
  5. function search_api_db_search_api_service_info() {
  6. $services['search_api_db_service'] = array(
  7. 'name' => t('Database service'),
  8. 'description' => t('<p>Index items using multiple database tables, for simple searches.</p>' .
  9. '<ul>' . '<li>All field types are supported and indexed in a special way, with URI/String and Integer/Duration being equivalent.</li>' .
  10. '<li>The "direct" parse mode results in the keys being normally split around white-space, only preprocessing might differ.</li>' .
  11. '<li>Currently, phrase queries are not supported. Additionally, due to MySQL limitations, all searches will be case-insensitive.</li>' . '</ul>'),
  12. 'class' => 'SearchApiDbService',
  13. );
  14. return $services;
  15. }