Lucene.Net.Search.TestTermVectors.CreateWriter C# (CSharp) Method

CreateWriter() private method

private CreateWriter ( Directory dir ) : IndexWriter
dir Directory
return IndexWriter
        private IndexWriter CreateWriter(Directory dir)
        {
            return new IndexWriter(dir, NewIndexWriterConfig(TEST_VERSION_CURRENT, new MockAnalyzer(Random())).SetMaxBufferedDocs(2));
        }