From 4cc47efe9399aa505bff0c762027c3431dd36e39 Mon Sep 17 00:00:00 2001 From: Espen Lonnkvist Date: Mon, 17 Dec 2018 22:57:28 +0100 Subject: [PATCH] Undo MinimumNumberShouldMatch removal --- src/Epinova.ElasticSearch.Core/Models/Query/BoolQuery.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Epinova.ElasticSearch.Core/Models/Query/BoolQuery.cs b/src/Epinova.ElasticSearch.Core/Models/Query/BoolQuery.cs index f7b0826c..59281195 100644 --- a/src/Epinova.ElasticSearch.Core/Models/Query/BoolQuery.cs +++ b/src/Epinova.ElasticSearch.Core/Models/Query/BoolQuery.cs @@ -14,7 +14,7 @@ internal class BoolQuery [JsonProperty(JsonNames.Should)] public List Should { get; set; } = new List(); - [JsonIgnore] + [JsonProperty(JsonNames.MinimumNumberShouldMatch)] public int? MinimumNumberShouldMatch { get; set; } [JsonProperty(JsonNames.Filter)]