You are here

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

1 method overrides QueryInterface::getIndex()
Query::getIndex in src/Query/Query.php
Retrieves the index associated with this search.

File

src/Query/QueryInterface.php, line 347

Class

QueryInterface
Represents a search query on a Search API index.

Namespace

Drupal\search_api\Query

Code

public function getIndex();