public function SearchApiProcessorInterface::postprocessSearchResults in Search API 7
Postprocess search results before display.
If a class is used for both pre- and post-processing a search query, the same object will be used for both calls (so preserving some data or state locally is possible).
Parameters
array $response: An array containing the search results. See the return value of SearchApiQueryInterface->execute() for the detailed format.
SearchApiQuery $query: The object representing the executed query.
1 method overrides SearchApiProcessorInterface::postprocessSearchResults()
- SearchApiAbstractProcessor::postprocessSearchResults in includes/
processor.inc - Does nothing.
File
- includes/
processor.inc, line 129 - Contains SearchApiProcessorInterface and SearchApiAbstractProcessor.
Class
- SearchApiProcessorInterface
- Interface representing a Search API pre- and/or post-processor.
Code
public function postprocessSearchResults(array &$response, SearchApiQuery $query);