Apache Lucene.Net 2.4.0 Class Library API

IndexWriter Constructor (Directory, Boolean, Analyzer, IndexDeletionPolicy)

NOTE: This constructor is now obsolete.

This constructor will be removed in the 3.0 release. Use IndexWriter(Directory, Analyzer, IndexDeletionPolicy, MaxFieldLength) instead, and call Commit() when needed


public IndexWriter(
   Directory d,
   bool autoCommit,
   Analyzer a,
   IndexDeletionPolicy deletionPolicy
);

See Also

IndexWriter Class | Lucene.Net.Index Namespace | IndexWriter Constructor Overload List