Returns the paging cookie. The paging cookie is used for optimization of paged searches.
The presence of the cookie may allow the data store to correlate queries and associate
them with the same server-side context. This may allow the data store to reuse the same
pre-computed data. We want this as the sorted and paged searches may be quite expensive.
It is expected that the cookie returned from the search will be passed back in the options
when the next page of the same search is requested.
It is OK to initialize a search without any cookie. If the datastore utilizes a re-usable
context it will return a cookie in a search response.
Sets paging cookie. The paging cookie is used for optimization of paged searches.
The presence of the cookie may allow the data store to correlate queries and associate
them with the same server-side context. This may allow the data store to reuse the same
pre-computed data. We want this as the sorted and paged searches may be quite expensive.
It is expected that the cookie returned from the search will be passed back in the options
when the next page of the same search is requested.
It is OK to initialize a search without any cookie. If the datastore utilizes a re-usable
context it will return a cookie in a search response.