public override string ToString(string field){StringBuilder buffer = new StringBuilder();buffer.Append("spanOr([");bool first = true;foreach (SpanQuery clause in clauses){if (!first) buffer.Append(", ");buffer.Append(clause.ToString(field));first = false;}buffer.Append("])");buffer.Append(ToStringUtils.Boost(Boost));return buffer.ToString();}