You are here

protected function SearchApiSolrService::postQuery in Search API Solr 7

Empty method to allow subclasses to apply custom changes before search results are returned.

Works exactly like hook_search_api_solr_search_results_alter().

Parameters

array $results: The results array that will be returned for the search.

SearchApiQueryInterface $query: The SearchApiQueryInterface object representing the executed search query.

object $response: The response object returned by Solr.

1 call to SearchApiSolrService::postQuery()
SearchApiSolrService::search in includes/service.inc
Executes a search on the server represented by this object.

File

includes/service.inc, line 2103

Class

SearchApiSolrService
Search service class using Solr server.

Code

protected function postQuery(array &$results, SearchApiQueryInterface $query, $response) {
}