Limiting pagination?

Hello,

I wonder if it is possible to put a limit on the from parameter in
pagination requests. For example refuse any paginating searches where the
from is above X? This would be good to protect clusters which otherwise are
easy to bring down.

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/206b9f66-86c6-48c3-845f-cd07e9f7089a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No, but since you should never expose your clusters to end users directly
you could always impose this limit on the software facade that connects
between your application and the cluster

--

Itamar Syn-Hershko
http://code972.com | @synhershko https://twitter.com/synhershko
Freelance Developer & Consultant
Author of RavenDB in Action http://manning.com/synhershko/

On Thu, Sep 18, 2014 at 11:46 AM, Martin Forssen maf@recordedfuture.com
wrote:

Hello,

I wonder if it is possible to put a limit on the from parameter in
pagination requests. For example refuse any paginating searches where the
from is above X? This would be good to protect clusters which otherwise are
easy to bring down.

--
You received this message because you are subscribed to the Google Groups
"elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/elasticsearch/206b9f66-86c6-48c3-845f-cd07e9f7089a%40googlegroups.com
https://groups.google.com/d/msgid/elasticsearch/206b9f66-86c6-48c3-845f-cd07e9f7089a%40googlegroups.com?utm_medium=email&utm_source=footer
.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/CAHTr4Zv4Np0XLx8wNPn_1am3rtt%2BkAJZh2CiP2j6xw-gOqMzqQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.