NOTE: This constructor is now obsolete.
This constructor will be removed in the 3.0 release. Use IndexWriter(Directory, Analyzer, bool, MaxFieldLength) instead, and call Commit() when needed
path. Text will be analyzed with
a. If
createis true, then a new, empty index will be created in
d, replacing the index already there, if any.
Throws CorruptIndexException if the index is corrupt
Throws LockObtainFailedException if another writer has this index open (
write.lockcould not be obtained)
Throws System.IO.IOException if the directory cannot be read/written to, or if it does not exist and
createis
falseor if there is any other low-level IO error
trueto create the index or overwrite the existing one;
falseto append to the existing index
IndexWriter Class | Lucene.Net.Index Namespace | IndexWriter Constructor Overload List