EcFramework.search lacking pagination
veden opened this issue · 1 comments
veden commented
EcFramework.search currently lacks the ability to do effective pagination when the underlying datastore is changing.
This will return the first page
EcFramework.search(repo, "", (response) => { console.log(response)},(e) => {console.log(e),{size:3, start:0})
If the underlying datastore has new records then the following query isn't guaranteed to return the next page.
EcFramework.search(repo, "", (response) => { console.log(response)},(e) => {console.log(e),{size:3, start:3})
Lomilar commented
OK, are you looking for scroll token based search results?