You are here

public function SearchApiMultiQueryInterface::keys in Search API Multi-Index Searches 7

Sets the keys to search for.

If this method is not called on the query before execution, or it is called with NULL, this will be a filter-only query.

Parameters

string|array|null $keys: A string with the unparsed search keys, or NULL to use no search keys.

Return value

SearchApiMultiQueryInterface The called object.

1 method overrides SearchApiMultiQueryInterface::keys()
SearchApiMultiQuery::keys in ./search_api_multi.query.inc
Sets the keys to search for.

File

./search_api_multi.query.inc, line 87

Class

SearchApiMultiQueryInterface
Interface representing a search query on multiple Search API indexes.

Code

public function keys($keys = NULL);