@panosm
Today, I implemented Point in Time pagination to access our OpenSearch database page-by-page.
OpenSearch offers 4 ways to browse search results in pages:
- The Scroll API
- The "from" and "size" parameters
- The "search_after" parameter
- The Point in Time API
Each one is supposed to be targeting a specific use case.
I used Point in Time API (which also incorporates the parameters "size" and "search_after") to write a script that browses the whole set of documents in an index.
P.S.
At Talent Protocol we use AWS OpenSearch to empower our search API.