text: public CharSequence toQueryString(EscapeQuerySyntax escaper) {if (isDefaultField(this.field)) {return getTermEscaped(escaper) + "~" + this.similarity;} else {return this.field + ":" + getTermEscaped(escaper) + "~" + this.similarity;}}