Skip to content

Commit b0fbf5a

Browse files
committed
Fix PercolateDescriptor sort serialization
When serializing the PercolateDescriptor, the sort property was incorrectly being serialized as 'score' and not 'sort'. This is now fixed
1 parent 3f4dbaa commit b0fbf5a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: src/Nest/DSL/MultiPercolate/IPercolateOperation.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ public interface IPercolateOperation
1818
[JsonProperty(PropertyName = "track_scores")]
1919
bool? TrackScores { get; set; }
2020

21-
[JsonProperty(PropertyName = "score")]
21+
[JsonProperty(PropertyName = "sort")]
2222
[JsonConverter(typeof(DictionaryKeysAreNotPropertyNamesJsonConverter))]
2323
IDictionary<PropertyPathMarker, ISort> Sort { get; set; }
2424

0 commit comments

Comments
 (0)