public String toString(String field) {StringBuilder buffer = new StringBuilder();if (!term.field().equals(field)) {buffer.append(term.field());buffer.append(":");}buffer.append(term.text());return buffer.toString();}

public override string ToString(string field){StringBuilder buffer = new StringBuilder();if (!term.Field.Equals(field, StringComparison.Ordinal)){buffer.Append(term.Field);buffer.Append(":");}buffer.Append(term.Text());buffer.Append(ToStringUtils.Boost(Boost));return buffer.ToString();}
