OpenSearch/modules/rank-eval/src
Simon Willnauer 833e0f8ecf
Prevent throttled indices to be searched through wildcards by default (#34354)
Today if a wildcard, date-math expression or alias expands/resolves
to an index that is search-throttled we still search it. This is likely
not the desired behavior since it can unexpectedly slow down searches
significantly.

This change adds a new indices option that allows `search`, `count`
and `msearch` to ignore throttled indices by default. Users can
force expansion to throttled indices by using `ignore_throttled=true`
on the rest request to expand also to throttled indices.

Relates to #34352
2018-11-06 09:45:30 +01:00
..
main Refactor: Remove settings from transport action CTOR (#35208) 2018-11-05 13:08:18 +01:00
test Prevent throttled indices to be searched through wildcards by default (#34354) 2018-11-06 09:45:30 +01:00