From e9d2598b0108ad136d3eb161c5add371744eb21b Mon Sep 17 00:00:00 2001 From: Steve Gordon Date: Tue, 6 Jul 2021 11:01:43 +0100 Subject: [PATCH] Add keep_values gap policy --- src/Nest/Aggregations/Pipeline/GapPolicy.cs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/Nest/Aggregations/Pipeline/GapPolicy.cs b/src/Nest/Aggregations/Pipeline/GapPolicy.cs index f41818a3f52..dd63ec7b67b 100644 --- a/src/Nest/Aggregations/Pipeline/GapPolicy.cs +++ b/src/Nest/Aggregations/Pipeline/GapPolicy.cs @@ -14,6 +14,9 @@ public enum GapPolicy Skip, [EnumMember(Value = "insert_zeros")] - InsertZeros + InsertZeros, + + [EnumMember(Value = "keep_values")] + KeepValues } }