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

Hard limit on from/size #9311

Closed
clintongormley opened this Issue Jan 15, 2015 · 2 comments

Comments

Projects
None yet
4 participants
@clintongormley
Member

clintongormley commented Jan 15, 2015

Requesting a million hits, or page 100,000 is always a bad idea, but users may not be aware of this. We should impose a per-index limit on the maximum size + from that can be requested, eg 10,000.

This should not interfere with deep-scrolling.

@rjernst

This comment has been minimized.

Show comment
Hide comment
@rjernst

rjernst Jan 16, 2015

Member

+1

Member

rjernst commented Jan 16, 2015

+1

@nik9000

This comment has been minimized.

Show comment
Hide comment
@nik9000

nik9000 Aug 28, 2015

Contributor

We should make sure that the error message returns a reference to scan/scroll too.

I'm grabbing this because I keep hearing about it being trouble.

Contributor

nik9000 commented Aug 28, 2015

We should make sure that the error message returns a reference to scan/scroll too.

I'm grabbing this because I keep hearing about it being trouble.

@nik9000 nik9000 removed the adoptme label Aug 28, 2015

nik9000 added a commit to nik9000/elasticsearch that referenced this issue Sep 10, 2015

[search] Limit the size of the result window
Requesting a million hits, or page 100,000 is always a bad idea, but users
may not be aware of this. This adds a per-index limit on the maximum size +
from that can be requested which defaults to 10,000.

This should not interfere with deep-scrolling.

Closes #9311

@nik9000 nik9000 closed this in #13188 Sep 10, 2015

nik9000 added a commit that referenced this issue Sep 10, 2015

[search] Limit the size of the result window
Requesting a million hits, or page 100,000 is always a bad idea, but users
may not be aware of this. This adds a per-index limit on the maximum size +
from that can be requested which defaults to 10,000.

This should not interfere with deep-scrolling.

Closes #9311
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment