Lucene.Net 1.4.3 Class Library

IndexWriter Constructor (FileInfo, Analyzer, Boolean)

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 path,
   Analyzer a,
   bool create
);

Parameters

path
the path to the index directory
a
the analyzer to use
create
true
to create the index or overwrite the existing one;
false
to append to the existing index

See Also

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