The “page-num” parameter allows you to get a very precise results page, in the case of result pagination. By using this parameter, the “max-results” parameter is mandatory.
The value of max-results is 10,000, the page numbers will therefore be:
- Results 1 to 10,000: 1
- Results 10,001 to 20,000: 2
- Results 20,001 to 30,000: 3
…and so forth, until there are no more results. In our example, we’re looking to create a request that will render the results 10,001 to 20,000.
To get the number of pages to be requested, you need to know the number of results of your query, by using the getRowCount method.Last update: 09/08/2017