Hi,

I am securing an ES installation and try to restrict the number of returned 
documents by configuration (for all ES queries). It's possible to use 
filtered aliases 
(http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/indices-aliases.html),
 
but I cannot find a working syntax with a "size" filter. The "limit" filter 
isn't suitable, see e.g. 
https://stackoverflow.com/questions/21444623/elasticsearch-limit-filter-ambiguity
 
for the difference.

Is it possible to create an index alias with a "size" restriction?
If not: How do you restrict the max. number of results ES-wide to prevent 
DoS?

Thank you, rgds
Fin 

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/elasticsearch/317c7822-d6ce-43be-9645-eaccda6f08ff%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to