internal virtual void RemoveAllValueFields() { IEnumerator <IndexableField> it = Document.Fields.GetEnumerator(); while (it.MoveNext()) { IndexableField field = it.Current; string fieldName = field.name(); if (!fieldName.Equals(FIELD_ENTITY_ID)) { //JAVA TO C# CONVERTER TODO TASK: .NET enumerators are read-only: it.remove(); } } }
protected internal virtual bool IsStoredField(IndexableField field) { return(isValidKey(field.name()) && field.fieldType().stored() && !FullTxData.TX_STATE_KEY.Equals(field.name())); }
protected internal override bool IsStoredField(IndexableField field) { return(!field.name().EndsWith(CustomType.EXACT_FIELD_SUFFIX) && base.IsStoredField(field)); }