public FunctionScoreQueryDescriptor <T> BoostMode(FunctionBoostMode mode) { ((IFunctionScoreQuery)this).BoostMode = mode; return(this); }
/// <summary> /// Defines how newly computed score is combined with the score of the query. /// </summary> public FunctionScoreQuery <T> BoostMode(FunctionBoostMode boostMode) { RegisterJsonPart("'boost_mode': {0}", boostMode.AsString().Quotate()); return(this); }