You are here

class SearchApiElasticsearchConnectorMissing in Elasticsearch Connector 7

Same name and namespace in other branches
  1. 7.5 modules/elasticsearch_connector_search_api/service.inc \SearchApiElasticsearchConnectorMissing
  2. 7.2 modules/elasticsearch_connector_search_api/service.inc \SearchApiElasticsearchConnectorMissing

Dummy search service for when the ElasticSearch library isn't available.

Hierarchy

Expanded class hierarchy of SearchApiElasticsearchConnectorMissing

1 string reference to 'SearchApiElasticsearchConnectorMissing'
elasticsearch_connector_search_api_search_api_service_info in modules/elasticsearch_connector_search_api/elasticsearch_connector_search_api.module
Implements hook_search_api_service_info().

File

modules/elasticsearch_connector_search_api/service.inc, line 14
Provides a Elasticsearch-based service class for the Search API using Elasticsearch Connector module.

View source
class SearchApiElasticsearchConnectorMissing extends SearchApiAbstractService {

  /**
   * {@inheritdoc}
   */
  public function indexItems(SearchApiIndex $index, array $items) {
    return array();
  }

  /**
   * {@inheritdoc}
   */
  public function deleteItems($ids = 'all', SearchApiIndex $index = NULL) {
  }

  /**
   * {@inheritdoc}
   */
  public function search(SearchApiQueryInterface $query) {
    return array();
  }

}

Members

Namesort descending Modifiers Type Description Overrides
SearchApiAbstractService::$options protected property Direct reference to the server's $options property.
SearchApiAbstractService::$server protected property
SearchApiAbstractService::addIndex public function Implements SearchApiServiceInterface::__construct(). Overrides SearchApiServiceInterface::addIndex 1
SearchApiAbstractService::configurationForm public function Implements SearchApiServiceInterface::__construct(). Overrides SearchApiServiceInterface::configurationForm 1
SearchApiAbstractService::configurationFormSubmit public function Implements SearchApiServiceInterface::__construct(). Overrides SearchApiServiceInterface::configurationFormSubmit
SearchApiAbstractService::configurationFormValidate public function Implements SearchApiServiceInterface::__construct(). Overrides SearchApiServiceInterface::configurationFormValidate
SearchApiAbstractService::fieldsUpdated public function Implements SearchApiServiceInterface::__construct(). Overrides SearchApiServiceInterface::fieldsUpdated 1
SearchApiAbstractService::getExtraInformation public function Returns additional, service-specific information about this server.
SearchApiAbstractService::postCreate public function Implements SearchApiServiceInterface::__construct(). Overrides SearchApiServiceInterface::postCreate
SearchApiAbstractService::postUpdate public function Implements SearchApiServiceInterface::__construct(). Overrides SearchApiServiceInterface::postUpdate
SearchApiAbstractService::preDelete public function Implements SearchApiServiceInterface::__construct(). Overrides SearchApiServiceInterface::preDelete 1
SearchApiAbstractService::query public function Implements SearchApiServiceInterface::__construct(). Overrides SearchApiServiceInterface::query
SearchApiAbstractService::removeIndex public function Implements SearchApiServiceInterface::__construct(). Overrides SearchApiServiceInterface::removeIndex 1
SearchApiAbstractService::supportsFeature public function Implements SearchApiServiceInterface::__construct(). Overrides SearchApiServiceInterface::supportsFeature 1
SearchApiAbstractService::viewSettings public function Implements SearchApiServiceInterface::__construct(). Overrides SearchApiServiceInterface::viewSettings
SearchApiAbstractService::__construct public function Implements SearchApiServiceInterface::__construct(). Overrides SearchApiServiceInterface::__construct
SearchApiElasticsearchConnectorMissing::deleteItems public function Deletes indexed items from this server. Overrides SearchApiServiceInterface::deleteItems
SearchApiElasticsearchConnectorMissing::indexItems public function Indexes the specified items. Overrides SearchApiServiceInterface::indexItems
SearchApiElasticsearchConnectorMissing::search public function Executes a search on the server represented by this object. Overrides SearchApiServiceInterface::search