public function QueryInterface::getResults in Search API 8
Retrieves this query's result set.
If this query hasn't been executed yet, the results will be incomplete.
Return value
\Drupal\search_api\Query\ResultSetInterface The results of the search.
See also
\Drupal\search_api\Query\QueryInterface::hasExecuted()
1 method overrides QueryInterface::getResults()
- Query::getResults in src/
Query/ Query.php - Retrieves this query's result set.
File
- src/
Query/ QueryInterface.php, line 339
Class
- QueryInterface
- Represents a search query on a Search API index.
Namespace
Drupal\search_api\QueryCode
public function getResults();