Lucene.Net.Util.LuceneTestCase.NewStringField C# (CSharp) Method

NewStringField() public method

LUCENENET specific Is non-static because OLD_FORMAT_IMPERSONATION_IS_ACTIVE is now non-static.
public NewStringField ( string name, string value, Field stored ) : Field
name string
value string
stored Field
return Field
        public Field NewStringField(string name, string value, Field.Store stored)
        {
            return NewField(Random(), name, value, stored == Field.Store.YES ? StringField.TYPE_STORED : StringField.TYPE_NOT_STORED);
        }

Same methods

LuceneTestCase::NewStringField ( Random random, string name, string value, Field stored ) : Field