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 doesn't return requested size #8

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

EcFramework.search doesn't return requested size #8

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

Comments

@veden
Copy link

veden commented Mar 12, 2021

If the elastic instance has 5 records and the first two are private and I don't have access to them.

When requesting a search result

EcFramework.search(repo, "", (response) => { console.log(response)},(e) => {console.log(e),{size:3, start:0})

The records returned doesn't account for records that are filtered due to a lack of access.

So if the the first 2 records are private and I have access to the third, I will get one result instead of three.

@Lomilar Lomilar self-assigned this Mar 12, 2021
@Lomilar
Copy link
Member

Lomilar commented Sep 30, 2024

Done.

@Lomilar Lomilar closed this as completed Sep 30, 2024
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