public function IndexInterface::postprocessSearchResults in Search API 8
Postprocesses search results before they are displayed.
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
\Drupal\search_api\Query\ResultSetInterface $results: The search results.
2 methods override IndexInterface::postprocessSearchResults()
- Index::postprocessSearchResults in src/
Entity/ Index.php - Postprocesses search results before they are displayed.
- UnsavedIndexConfiguration::postprocessSearchResults in src/
UnsavedIndexConfiguration.php - Postprocesses search results before they are displayed.
File
- src/
IndexInterface.php, line 410
Class
- IndexInterface
- Defines the interface for index entities.
Namespace
Drupal\search_apiCode
public function postprocessSearchResults(ResultSetInterface $results);