Package | Description |
---|---|
org.apache.lucene.index |
Code to maintain and access indices.
|
Modifier and Type | Field and Description |
---|---|
static IndexWriter.MaxFieldLength |
IndexWriter.MaxFieldLength.LIMITED
Sets the maximum field length to
IndexWriter.DEFAULT_MAX_FIELD_LENGTH |
static IndexWriter.MaxFieldLength |
IndexWriter.MaxFieldLength.UNLIMITED
Sets the maximum field length to
Integer.MAX_VALUE . |
Constructor and Description |
---|
IndexWriter(Directory d,
Analyzer a,
boolean create,
IndexDeletionPolicy deletionPolicy,
IndexWriter.MaxFieldLength mfl)
Expert: constructs an IndexWriter with a custom
IndexDeletionPolicy , for the index in d . |
IndexWriter(Directory d,
Analyzer a,
boolean create,
IndexWriter.MaxFieldLength mfl)
Constructs an IndexWriter for the index in
d . |
IndexWriter(Directory d,
Analyzer a,
IndexDeletionPolicy deletionPolicy,
IndexWriter.MaxFieldLength mfl)
Expert: constructs an IndexWriter with a custom
IndexDeletionPolicy , for the index in d ,
first creating it if it does not already exist. |
IndexWriter(Directory d,
Analyzer a,
IndexDeletionPolicy deletionPolicy,
IndexWriter.MaxFieldLength mfl,
IndexCommit commit)
Expert: constructs an IndexWriter on specific commit
point, with a custom
IndexDeletionPolicy , for
the index in d . |
IndexWriter(Directory d,
Analyzer a,
IndexWriter.MaxFieldLength mfl)
Constructs an IndexWriter for the index in
d , first creating it if it does not
already exist. |
IndexWriter(java.io.File path,
Analyzer a,
boolean create,
IndexWriter.MaxFieldLength mfl)
|
IndexWriter(java.io.File path,
Analyzer a,
IndexWriter.MaxFieldLength mfl)
Deprecated.
|
IndexWriter(java.lang.String path,
Analyzer a,
boolean create,
IndexWriter.MaxFieldLength mfl)
|
IndexWriter(java.lang.String path,
Analyzer a,
IndexWriter.MaxFieldLength mfl)
Deprecated.
|
Copyright © 2000-2019 Apache Software Foundation. All Rights Reserved.