public function SearchApiStopWords::postprocessSearchResults in Search API 7
Does nothing.
Overrides SearchApiAbstractProcessor::postprocessSearchResults
File
- includes/
processor_stopwords.inc, line 77 - Contains SearchApiStopWords.
Class
- SearchApiStopWords
- Processor for removing stopwords from index and search terms.
Code
public function postprocessSearchResults(array &$response, SearchApiQuery $query) {
if ($this->ignored) {
if (isset($response['ignored'])) {
$response['ignored'] = array_merge($response['ignored'], $this->ignored);
}
else {
$response['ignored'] = $this->ignored;
}
}
}