You are here

function sarnia_search_api_service_info in Sarnia 7

Implements hook_search_api_service_info().

Provide a Search API service so that we can customize Solr behavior.

File

./sarnia.module, line 915

Code

function sarnia_search_api_service_info() {
  $services['sarnia_solr_service'] = array(
    'name' => t('Sarnia Solr service'),
    'description' => t('Search-only connection to a Solr core.'),
    'class' => 'SarniaSolrService',
  );
  return $services;
}