You are here

public function ProcessorInterface::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.

1 method overrides ProcessorInterface::postprocessSearchResults()
ProcessorPluginBase::postprocessSearchResults in src/Processor/ProcessorPluginBase.php
Postprocess search results before they are returned by the query.

File

src/Processor/ProcessorInterface.php, line 203

Class

ProcessorInterface
Provides an interface for Search API processor plugins.

Namespace

Drupal\search_api\Processor

Code

public function postprocessSearchResults(ResultSetInterface $results);