OpenSearch/core
Christoph Büscher 4e613139dc Ensure fixed serialization order of InnerHitBuilder (#22820)
Usually the order in which we serialize sets and maps of things doesn't matter,
but since InnerHitBuilder is part of SearchSourceBuilder, which is in turn used
as a cache key in its bytes serialization, we need to ensure the order of all
these fields when writing them to an output stream.

This adds tests and makes sure we iterate over the scriptField set and the
childInnerHits map in a fixed order.

Closes #22808
2017-01-30 19:28:55 +01:00
..
licenses Upgrade to Lucene 6.4.0 (#22724) 2017-01-21 04:48:01 +01:00
src Ensure fixed serialization order of InnerHitBuilder (#22820) 2017-01-30 19:28:55 +01:00
build.gradle Settings: Add infrastructure for elasticsearch keystore 2016-12-22 16:28:34 -08:00