elasticsearch/modules/runtime-fields-common
Alan Woodward 189f279b4f
Don't modify source map when parsing composite runtime field (#89114)
When calling RuntimeField.parseRuntimeFields() for fields defined in the
search request, we need to wrap the Map containing field definitions in another
Map that supports value removal, so that we don't inadvertently remove the
definitions from the root request. CompositeRuntimeField was not doing this
extra wrapping, which meant that requests that went to multiple shards and
that therefore parsed the definitions multiple times would throw an error
complaining that the fields parameter was missing, because the root request
had been modified.
2022-08-17 10:00:16 +01:00
..
src Don't modify source map when parsing composite runtime field (#89114) 2022-08-17 10:00:16 +01:00
build.gradle Format runtime geo_points (#85449) 2022-07-27 13:11:07 -04:00