We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 17247a8 + cf115c1 commit 8c5915aCopy full SHA for 8c5915a
src/Nest/DSL/Facets/DateExpressionRange.cs
@@ -9,7 +9,10 @@ public class DateExpressionRange
9
internal string _From { get; set; }
10
11
[JsonProperty(PropertyName = "to")]
12
- internal string _To { get; set; }
+ internal string _To { get; set; }
13
+
14
+ [JsonProperty(PropertyName = "key")]
15
+ internal string _Key { get; set; }
16
17
public DateExpressionRange From(string value)
18
{
@@ -20,6 +23,11 @@ public DateExpressionRange To(string value)
20
23
21
24
this._To = value;
22
25
return this;
- }
26
+ }
27
+ public DateExpressionRange Key(string key)
28
+ {
29
+ this._Key = key;
30
+ return this;
31
32
33
}
0 commit comments