OpenSearch/x-pack/plugin/runtime-fields/src
Nik Everett 6d2cab9437
Stop runtime script from emitting too many values (#61938) (#62186)
This prevent `keyword` valued runtime scripts from emitting too many
values or values that take up too much space. Without this you can put
allocate a ton of memory with the script by sticking it into a tight
loop. Painless has some protections against this but:
1. I don't want to rely on them out of sheer paranoia
2. They don't really kick in when the script uses callbacks like we do
   anyway.

Relates to #59332
2020-09-09 14:47:24 -04:00
..
main Stop runtime script from emitting too many values (#61938) (#62186) 2020-09-09 14:47:24 -04:00
test/java/org/elasticsearch/xpack/runtimefields Stop runtime script from emitting too many values (#61938) (#62186) 2020-09-09 14:47:24 -04:00