You are here

public function SearchApiElasticsearchViewsHandlerFilterFulltext::query in Search API Elasticsearch 7

Add these options to the query.

Overrides SearchApiViewsHandlerFilterFulltext::query

File

includes/views/SearchApiElasticsearchViewsHandlerFilterFulltext.inc, line 66
Contains SearchApiElasticsearchViewsHandlerFilterFulltext.

Class

SearchApiElasticsearchViewsHandlerFilterFulltext
Views filter handler class for handling fulltext fields.

Code

public function query() {
  parent::query();
  $this->query
    ->setOption('analyzer', $this->options['analyzer']);
}