In documentation, under section 'Querying Resource Collections' here: http://opendj.forgerock.org/opendj-server/doc/admin-guide/index.html#query-rest
in description of Complex expressions:
The description and implementation is different for example if offset is 0, below i will describe the behavior of implementation.
- if cookie is not specified offset 0 returns zero page, offset 1 returns first page and so on
- if cookie is specified, the page which is returned is: cookie+offset... so for example cookie of zero page and offset 0 returns first page... with same cookie and offset 1 returns second page and so on
- if offset is less than zero - behave like offset is not specified
- will be better to have more informations for example what expect when _PageSize is set to zero and what expect when _PageSize is less then zero - now all entries are returned