You are here

public function SearchApiQuery::getIndex in Search API 7

Retrieves the index associated with this search.

Return value

SearchApiIndex The search index this query should be executed on.

Overrides SearchApiQueryInterface::getIndex

File

includes/query.inc, line 749
Contains SearchApiQueryInterface and SearchApiQuery.

Class

SearchApiQuery
Provides a standard implementation of the SearchApiQueryInterface.

Code

public function getIndex() {
  return $this->index;
}