Skip to content

Commit 987edad

Browse files
committed
Add TODO to remind us to remove WeightAsDouble for 2.0
1 parent 1105a6b commit 987edad

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/Nest/DSL/Query/FunctionScoreQueryDescriptor.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,7 @@ public class FunctionScoreQueryDescriptor<T> : IFunctionScoreQuery where T : cla
9191
set { Self.WeightAsDouble = value; }
9292
}
9393

94+
// TODO: Remove in 2.0 and change Weight to double
9495
double? IFunctionScoreQuery.WeightAsDouble { get; set; }
9596

9697
bool IQuery.IsConditionless

0 commit comments

Comments
 (0)