public CharSequence toQueryString(EscapeQuerySyntax escaper) {if (isDefaultField(this.field)) {return getTermEscaped(escaper) + "~" + this.similarity;} else {return this.field + ":" + getTermEscaped(escaper) + "~" + this.similarity;}}
public override string ToQueryString(IEscapeQuerySyntax escaper){if (IsDefaultField(this.m_field)){return GetTermEscaped(escaper) + "~" + this.similarity;}else{return this.m_field + ":" + GetTermEscaped(escaper) + "~" + this.similarity;}}