Lucene.Net.Util.LuceneTestCase.NewStringField C# (CSharp) Méthode

NewStringField() public méthode

LUCENENET specific Is non-static because OLD_FORMAT_IMPERSONATION_IS_ACTIVE is now non-static.
public NewStringField ( Random random, string name, string value, Field stored ) : Field
random Random
name string
value string
stored Field
Résultat Field
        public Field NewStringField(Random random, 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 ( string name, string value, Field stored ) : Field