Package | Description |
---|---|
org.apache.lucene.index |
Code to maintain and access indices.
|
Modifier and Type | Method and Description |
---|---|
IndexWriterConfig.OpenMode |
IndexWriterConfig.getOpenMode()
Returns the
IndexWriterConfig.OpenMode set by IndexWriterConfig.setOpenMode(OpenMode) . |
static IndexWriterConfig.OpenMode |
IndexWriterConfig.OpenMode.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static IndexWriterConfig.OpenMode[] |
IndexWriterConfig.OpenMode.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
IndexWriterConfig |
IndexWriterConfig.setOpenMode(IndexWriterConfig.OpenMode openMode)
Specifies
IndexWriterConfig.OpenMode of the index. |
Constructor and Description |
---|
PersistentSnapshotDeletionPolicy(IndexDeletionPolicy primary,
Directory dir,
IndexWriterConfig.OpenMode mode,
Version matchVersion)
PersistentSnapshotDeletionPolicy wraps another
IndexDeletionPolicy to enable flexible snapshotting. |