Apache Lucene.Net 2.1 Class Library API

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
, creating it first if it does not already exist, otherwise appending to the existing index. Text will be analyzed with
a
.

public IndexWriter(Directory,Analyzer);

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
, creating it first if it does not already exist, otherwise appending to the existing index. Text will be analyzed with
a
.

public IndexWriter(FileInfo,Analyzer);

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
, creating it first if it does not already exist, otherwise appending to the existing index. Text will be analyzed with
a
.

public IndexWriter(string,Analyzer);

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