text: public final void removeField(String name) {Iterator<IndexableField> it = fields.iterator();while (it.hasNext()) {IndexableField field = it.next();if (field.name().equals(name)) {it.remove();return;}}}