public function SearchApiQuery::getIndex in Search API 8
Retrieves the index associated with this search.
Return value
\Drupal\search_api\IndexInterface The search index this query should be executed on.
See also
\Drupal\search_api\Query\QueryInterface::getIndex()
File
- src/
Plugin/ views/ query/ SearchApiQuery.php, line 1332
Class
- SearchApiQuery
- Defines a Views query class for searching on Search API indexes.
Namespace
Drupal\search_api\Plugin\views\queryCode
public function getIndex() {
return $this->index;
}