text: public override string ToString(string field){StringBuilder buffer = new StringBuilder();buffer.Append("(");int numDisjunctions = disjuncts.Count;for (int i = 0; i < numDisjunctions; i++){Query subquery = disjuncts[i];if (subquery is BooleanQuery) {buffer.Append("(");buffer.Append(subquery.ToString(field));buffer.Append(")");}else{buffer.Append(subquery.ToString(field));}if (i != numDisjunctions - 1){buffer.Append(" | ");}}buffer.Append(")");if (tieBreakerMultiplier != 0.0f){buffer.Append("~");buffer.Append(tieBreakerMultiplier);}if (Boost != 1.0){buffer.Append("^");buffer.Append(Boost);}return buffer.ToString();}