You are here

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

Adds a range of results to return. This will be saved in the query's options. If called without parameters, this will remove all range restrictions previously set.

Parameters

int|null $offset: The zero-based offset of the first result returned.

int|null $limit: The number of results to return.

Return value

SearchApiMultiQueryInterface The called object.

1 method overrides SearchApiMultiQueryInterface::range()
SearchApiMultiQuery::range in ./search_api_multi.query.inc
Adds a range of results to return. This will be saved in the query's options. If called without parameters, this will remove all range restrictions previously set.

File

./search_api_multi.query.inc, line 178

Class

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

Code

public function range($offset = NULL, $limit = NULL);