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.
NOTE: autoCommit (see above) is set to false with this constructor.
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