Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

EcFramework.search lacking pagination #9

Open
veden opened this issue Mar 12, 2021 · 1 comment
Open

EcFramework.search lacking pagination #9

veden opened this issue Mar 12, 2021 · 1 comment

Comments

@veden
Copy link

veden commented Mar 12, 2021

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
Copy link
Member

Lomilar commented Mar 12, 2021

OK, are you looking for scroll token based search results?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants