You are here

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

Overrides IndexInterface::postprocessSearchResults

File

src/UnsavedIndexConfiguration.php, line 438

Class

UnsavedIndexConfiguration
Represents a configuration of an index that was not yet permanently saved.

Namespace

Drupal\search_api

Code

public function postprocessSearchResults(ResultSetInterface $results) {
  $this->entity
    ->postprocessSearchResults($results);
}