You are here

class SearchApiElasticsearchElasticaSearcher in Search API Elasticsearch 7

@file Contains searcher for Elastica client.

Hierarchy

Expanded class hierarchy of SearchApiElasticsearchElasticaSearcher

File

modules/elastica/includes/SearchApiElasticsearchElasticaSearcher.inc, line 8
Contains searcher for Elastica client.

View source
class SearchApiElasticsearchElasticaSearcher {
  public static function search($type, $query, $options, SearchApiQueryInterface $search_api_query) {
    if (!empty($options['mlt'])) {
      SearchApiElasticsearchElasticaMLT::build($type, $options, $query, $search_api_query);
    }
    drupal_alter('search_api_elasticsearch_elastica_query', $query, $search_api_query);
    return $type
      ->search($query);
  }

}

Members