You are here

public function ProcessorPluginBase::postprocessSearchResults in Search API 8

Postprocess search results before they are returned by the query.

If a processor 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.

Overrides ProcessorInterface::postprocessSearchResults

2 methods override ProcessorPluginBase::postprocessSearchResults()
Highlight::postprocessSearchResults in src/Plugin/search_api/processor/Highlight.php
Postprocess search results before they are returned by the query.
TestProcessor::postprocessSearchResults in tests/search_api_test/src/Plugin/search_api/processor/TestProcessor.php
Postprocess search results before they are returned by the query.

File

src/Processor/ProcessorPluginBase.php, line 180

Class

ProcessorPluginBase
Defines a base class from which other processors may extend.

Namespace

Drupal\search_api\Processor

Code

public function postprocessSearchResults(ResultSetInterface $results) {
}