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.
1 parent 529c8d9 commit 5e4dc9dCopy full SHA for 5e4dc9d
src/Nest/DSL/Query/FunctionScoreQueryDescriptor.cs
@@ -197,11 +197,11 @@ public class FieldValueFactorDescriptor<T>
197
internal PropertyPathMarker _Field { get; set; }
198
199
[JsonProperty("factor")]
200
- internal double _Factor { get; set; }
+ internal double? _Factor { get; set; }
201
202
[JsonProperty("modifier")]
203
[JsonConverter(typeof (StringEnumConverter))]
204
- internal FieldValueFactorModifier _Modifier { get; set; }
+ internal FieldValueFactorModifier? _Modifier { get; set; }
205
206
public FieldValueFactorDescriptor<T> Field(Expression<Func<T, object>> field)
207
{
0 commit comments