DotLucene 1.4 API Documentation |

# IndexWriter Constructor

Constructs an IndexWriter for the index in `path`. Text will be analyzed with `a`. If `create` is true, then a new, empty index will be created in `path`, replacing the index already there, if any.

#### Overload List

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.

> public IndexWriter(Directory,Analyzer,bool);

Constructs an IndexWriter for the index in `path`. Text will be analyzed with `a`. If `create` is true, then a new, empty index will be created in `path`, replacing the index already there, if any.

> public IndexWriter(FileInfo,Analyzer,bool);

Constructs an IndexWriter for the index in `path`. Text will be analyzed with `a`. If `create` is true, then a new, empty index will be created in `path`, replacing the index already there, if any.

> public IndexWriter(string,Analyzer,bool);

#### See Also

IndexWriter Class | Lucene.Net.Index Namespace