Lucene.Net.Index.IndexWriter.IndexWriter C# (CSharp) Method

IndexWriter() public method

Constructs an IndexWriter for the index in d. Text will be analyzed with a. If create is true, then a new, empty index will be created in d, replacing the index already there, if any. has this index open (write.lock could not be obtained) if it does not exist and create is false or if there is any other low-level IO error
public IndexWriter ( Lucene.Net.Store.Directory d, Lucene.Net.Analysis.Analyzer a, bool create, MaxFieldLength mfl ) : System
d Lucene.Net.Store.Directory the index directory ///
a Lucene.Net.Analysis.Analyzer the analyzer to use ///
create bool true to create the index or overwrite /// the existing one; false to append to the existing /// index ///
mfl MaxFieldLength Maximum field length in number of terms/tokens: LIMITED, UNLIMITED, or user-specified /// via the MaxFieldLength constructor. ///
return System
		public IndexWriter(Directory d, Analyzer a, bool create, MaxFieldLength mfl)
		{
			InitBlock();
			Init(d, a, create, null, mfl.Limit, null, null);
		}
		

Same methods

IndexWriter::IndexWriter ( ) : System
IndexWriter::IndexWriter ( Lucene.Net.Store.Directory d, Lucene.Net.Analysis.Analyzer a, IndexDeletionPolicy deletionPolicy, MaxFieldLength mfl ) : System
IndexWriter::IndexWriter ( Lucene.Net.Store.Directory d, Lucene.Net.Analysis.Analyzer a, IndexDeletionPolicy deletionPolicy, MaxFieldLength mfl, IndexCommit commit ) : System
IndexWriter::IndexWriter ( Lucene.Net.Store.Directory d, Lucene.Net.Analysis.Analyzer a, MaxFieldLength mfl ) : System
IndexWriter::IndexWriter ( Lucene.Net.Store.Directory d, Lucene.Net.Analysis.Analyzer a, bool create, IndexDeletionPolicy deletionPolicy, MaxFieldLength mfl ) : System
IndexWriter::IndexWriter ( Lucene.Net.Store.Directory d, Lucene.Net.Analysis.Analyzer a, bool create, IndexDeletionPolicy deletionPolicy, MaxFieldLength mfl, Lucene.Net.Index.DocumentsWriter.IndexingChain indexingChain, IndexCommit commit ) : System
IndexWriter