mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-03-09 14:34:43 +00:00
When doc values are explicitly set to the default value serialization is skipped. This means the alternate way of specifying doc values, through `fielddata.format: doc_values`, will take precedense if present. This change fixes doc values to always be serialized when an explicit value was passed, so that it continues to take precedence over `fielddata.format`. closes #10297 closes #10302