You are here

public function SearchApiAbstractProcessor::preprocessSearchQuery in Search API 7

Calls processKeys() for the keys and processFilters() for the filters.

Overrides SearchApiProcessorInterface::preprocessSearchQuery

1 call to SearchApiAbstractProcessor::preprocessSearchQuery()
SearchApiStopWords::preprocessSearchQuery in includes/processor_stopwords.inc
Calls processKeys() for the keys and processFilters() for the filters.
1 method overrides SearchApiAbstractProcessor::preprocessSearchQuery()
SearchApiStopWords::preprocessSearchQuery in includes/processor_stopwords.inc
Calls processKeys() for the keys and processFilters() for the filters.

File

includes/processor.inc, line 221
Contains SearchApiProcessorInterface and SearchApiAbstractProcessor.

Class

SearchApiAbstractProcessor
Abstract processor implementation that provides an easy framework for only processing specific fields.

Code

public function preprocessSearchQuery(SearchApiQuery $query) {
  $keys =& $query
    ->getKeys();
  $this
    ->processKeys($keys);
  $filter = $query
    ->getFilter();
  $filters =& $filter
    ->getFilters();
  $this
    ->processFilters($filters);
}