text: public override string ToString(){var buffer = new StringBuilder();buffer.Append("Document<");for (int i = 0; i < fields.Count; i++){IIndexableField field = fields[i];buffer.Append(field.ToString());if (i != fields.Count - 1){buffer.Append(" ");}}buffer.Append(">");return buffer.ToString();}