public FunctionScoreQueryDescriptor <T> ScoreMode(FunctionScoreMode mode) { this._ScoreMode = mode; return(this); }
public FunctionScoreQueryDescriptor <T> ScoreMode(FunctionScoreMode mode) { ((IFunctionScoreQuery)this).ScoreMode = mode; return(this); }
/// <summary> /// Specifies how the computed scores are combined /// </summary> public FunctionScoreQuery <T> ScoreMode(FunctionScoreMode scoreMode = FunctionScoreMode.first) { RegisterJsonPart("'score_mode': {0}", scoreMode.AsString().Quotate()); return(this); }