When attempting to set the function score weight visual studio gives the following error:
'Nest.FunctionScoreQueryDescriptor<ConsoleApplication2.PersonExtended>' does not contain a definition for 'Weight' and no extension method 'Weight' accepting a first argument of type 'Nest.FunctionScoreQueryDescriptor<ConsoleApplication2.PersonExtended>' could be found (are you missing a using directive or an assembly reference?)
The relevant bit of the query:
.Query(qd => qd
.Bool(bq => bq
.Should(shd1 => shd1
.FunctionScore(bf => bf
.Weight(100.0)