You are here

public function SearchApiQuery::getSearchApiResults in Search API 8

Retrieves the Search API result set returned for this query.

Return value

\Drupal\search_api\Query\ResultSetInterface The result set of this query. Might not contain the actual results yet if the query hasn't been executed yet.

File

src/Plugin/views/query/SearchApiQuery.php, line 832

Class

SearchApiQuery
Defines a Views query class for searching on Search API indexes.

Namespace

Drupal\search_api\Plugin\views\query

Code

public function getSearchApiResults() {
  return $this->query
    ->getResults();
}