You are here

public function Query::setProcessingLevel in Search API 8

Sets the processing level for this query.

Parameters

int $level: The processing level of this query, as one of the \Drupal\search_api\Query\QueryInterface::PROCESSING_* constants.

Return value

$this

Overrides QueryInterface::setProcessingLevel

File

src/Query/Query.php, line 490

Class

Query
Provides a standard implementation for a Search API query.

Namespace

Drupal\search_api\Query

Code

public function setProcessingLevel($level) {
  $this->processingLevel = $level;
  return $this;
}