By default the cursor is not enabled. To enable it, select cursor to the GQL query to get the cursor in combination with a query in `
where` using an empty string `
""` as value, such as `
The response has a cursor value, and then gets the next batches using that cursor value in the GQL query.
The results for the first query is preserved in the current state (stateful), 10 minutes per request, and after that time, the cursor expires and is no longer valid.
Continue till there are no more results. The number of results per batch depends on the number set in limit. For the first query with cursor, the skip is ignored. The client can implement this by ignoring the first batches of results.
You should sort by DOC for fastest retrieval.
Example request, where you get the batches per one document: