You are here

public function QueryInterface::setParseMode in Search API 8

Sets the parse mode.

Parameters

\Drupal\search_api\ParseMode\ParseModeInterface $parse_mode: The parse mode.

Return value

$this

1 method overrides QueryInterface::setParseMode()
Query::setParseMode in src/Query/Query.php
Sets the parse mode.

File

src/Query/QueryInterface.php, line 131

Class

QueryInterface
Represents a search query on a Search API index.

Namespace

Drupal\search_api\Query

Code

public function setParseMode(ParseModeInterface $parse_mode);