Overload List

  NameDescription
Public methodIndexWriter(FileInfo, Analyzer) Obsolete.
Constructs an IndexWriter for the index in
CopyC#
path
, first creating it if it does not already exist. Text will be analyzed with
CopyC#
a
.
Public methodIndexWriter(String, Analyzer) Obsolete.
Constructs an IndexWriter for the index in
CopyC#
path
, first creating it if it does not already exist. Text will be analyzed with
CopyC#
a
.
Public methodIndexWriter(Directory, Analyzer) Obsolete.
Constructs an IndexWriter for the index in
CopyC#
d
, first creating it if it does not already exist. Text will be analyzed with
CopyC#
a
.
Public methodIndexWriter(FileInfo, Analyzer, IndexWriter..::..MaxFieldLength) Obsolete.
Constructs an IndexWriter for the index in
CopyC#
path
, first creating it if it does not already exist. Text will be analyzed with
CopyC#
a
.

NOTE: autoCommit (see above) is set to false with this constructor.

Public methodIndexWriter(FileInfo, Analyzer, Boolean) Obsolete.
Constructs an IndexWriter for the index in
CopyC#
path
. Text will be analyzed with
CopyC#
a
. If
CopyC#
create
is true, then a new, empty index will be created in
CopyC#
path
, replacing the index already there, if any.
Public methodIndexWriter(String, Analyzer, IndexWriter..::..MaxFieldLength) Obsolete.
Constructs an IndexWriter for the index in
CopyC#
path
, first creating it if it does not already exist. Text will be analyzed with
CopyC#
a
.

NOTE: autoCommit (see above) is set to false with this constructor.

Public methodIndexWriter(String, Analyzer, Boolean) Obsolete.
Constructs an IndexWriter for the index in
CopyC#
path
. Text will be analyzed with
CopyC#
a
. If
CopyC#
create
is true, then a new, empty index will be created in
CopyC#
path
, replacing the index already there, if any.
Public methodIndexWriter(Directory, Analyzer, IndexWriter..::..MaxFieldLength)
Constructs an IndexWriter for the index in
CopyC#
d
, first creating it if it does not already exist. Text will be analyzed with
CopyC#
a
.

NOTE: autoCommit (see above) is set to false with this constructor.

Public methodIndexWriter(Directory, Analyzer, Boolean) Obsolete.
Constructs an IndexWriter for the index in
CopyC#
d
. Text will be analyzed with
CopyC#
a
. If
CopyC#
create
is true, then a new, empty index will be created in
CopyC#
d
, replacing the index already there, if any.
Public methodIndexWriter(Directory, Boolean, Analyzer) Obsolete.
Constructs an IndexWriter for the index in
CopyC#
d
, first creating it if it does not already exist. Text will be analyzed with
CopyC#
a
.
Public methodIndexWriter(FileInfo, Analyzer, Boolean, IndexWriter..::..MaxFieldLength) Obsolete.
Constructs an IndexWriter for the index in
CopyC#
path
. Text will be analyzed with
CopyC#
a
. If
CopyC#
create
is true, then a new, empty index will be created in
CopyC#
path
, replacing the index already there, if any.

NOTE: autoCommit (see above) is set to false with this constructor.

Public methodIndexWriter(String, Analyzer, Boolean, IndexWriter..::..MaxFieldLength) Obsolete.
Constructs an IndexWriter for the index in
CopyC#
path
. Text will be analyzed with
CopyC#
a
. If
CopyC#
create
is true, then a new, empty index will be created in
CopyC#
path
, replacing the index already there, if any.

NOTE: autoCommit (see above) is set to false with this constructor.

Public methodIndexWriter(Directory, Analyzer, IndexDeletionPolicy, IndexWriter..::..MaxFieldLength)
Expert: constructs an IndexWriter with a custom {@link IndexDeletionPolicy}, for the index in
CopyC#
d
, first creating it if it does not already exist. Text will be analyzed with
CopyC#
a
.

NOTE: autoCommit (see above) is set to false with this constructor.

Public methodIndexWriter(Directory, Analyzer, Boolean, IndexWriter..::..MaxFieldLength)
Constructs an IndexWriter for the index in
CopyC#
d
. Text will be analyzed with
CopyC#
a
. If
CopyC#
create
is true, then a new, empty index will be created in
CopyC#
d
, replacing the index already there, if any.

NOTE: autoCommit (see above) is set to false with this constructor.

Public methodIndexWriter(Directory, Boolean, Analyzer, IndexDeletionPolicy) Obsolete.
Expert: constructs an IndexWriter with a custom {@link IndexDeletionPolicy}, for the index in
CopyC#
d
, first creating it if it does not already exist. Text will be analyzed with
CopyC#
a
.
Public methodIndexWriter(Directory, Boolean, Analyzer, Boolean) Obsolete.
Constructs an IndexWriter for the index in
CopyC#
d
. Text will be analyzed with
CopyC#
a
. If
CopyC#
create
is true, then a new, empty index will be created in
CopyC#
d
, replacing the index already there, if any.
Public methodIndexWriter(Directory, Analyzer, IndexDeletionPolicy, IndexWriter..::..MaxFieldLength, IndexCommit)
Expert: constructs an IndexWriter on specific commit point, with a custom {@link IndexDeletionPolicy}, for the index in
CopyC#
d
. Text will be analyzed with
CopyC#
a
.

This is only meaningful if you've used a {@link IndexDeletionPolicy} in that past that keeps more than just the last commit.

This operation is similar to {@link #Rollback()}, except that method can only rollback what's been done with the current instance of IndexWriter since its last commit, whereas this method can rollback to an arbitrary commit point from the past, assuming the {@link IndexDeletionPolicy} has preserved past commits.

NOTE: autoCommit (see above) is set to false with this constructor.

Public methodIndexWriter(Directory, Analyzer, Boolean, IndexDeletionPolicy, IndexWriter..::..MaxFieldLength)
Expert: constructs an IndexWriter with a custom {@link IndexDeletionPolicy}, for the index in
CopyC#
d
. Text will be analyzed with
CopyC#
a
. If
CopyC#
create
is true, then a new, empty index will be created in
CopyC#
d
, replacing the index already there, if any.

NOTE: autoCommit (see above) is set to false with this constructor.

Public methodIndexWriter(Directory, Boolean, Analyzer, Boolean, IndexDeletionPolicy) Obsolete.
Expert: constructs an IndexWriter with a custom {@link IndexDeletionPolicy}, for the index in
CopyC#
d
. Text will be analyzed with
CopyC#
a
. If
CopyC#
create
is true, then a new, empty index will be created in
CopyC#
d
, replacing the index already there, if any.

See Also