Esempio n. 1
0
            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();
                    }
                }
            }
Esempio n. 2
0
 protected internal virtual bool IsStoredField(IndexableField field)
 {
     return(isValidKey(field.name()) && field.fieldType().stored() && !FullTxData.TX_STATE_KEY.Equals(field.name()));
 }
Esempio n. 3
0
 protected internal override bool IsStoredField(IndexableField field)
 {
     return(!field.name().EndsWith(CustomType.EXACT_FIELD_SUFFIX) && base.IsStoredField(field));
 }