Package | Description |
---|---|
org.apache.lucene.benchmark.byTask.tasks |
Extendable benchmark tasks.
|
org.apache.lucene.index |
Code to maintain and access indices.
|
Modifier and Type | Method | Description |
---|---|---|
static IndexDeletionPolicy |
CreateIndexTask.getIndexDeletionPolicy(Config config) |
Modifier and Type | Class | Description |
---|---|---|
class |
KeepOnlyLastCommitDeletionPolicy |
This
IndexDeletionPolicy implementation that
keeps only the most recent commit and immediately removes
all prior commits after a new commit is done. |
class |
NoDeletionPolicy |
An
IndexDeletionPolicy which keeps all index commits around, never
deleting them. |
class |
PersistentSnapshotDeletionPolicy |
A
SnapshotDeletionPolicy which adds a persistence layer so that
snapshots can be maintained across the life of an application. |
class |
SnapshotDeletionPolicy |
An
IndexDeletionPolicy that wraps around any other
IndexDeletionPolicy and adds the ability to hold and later release
snapshots of an index. |
Modifier and Type | Field | Description |
---|---|---|
static IndexDeletionPolicy |
NoDeletionPolicy.INSTANCE |
The single instance of this class.
|
Modifier and Type | Method | Description |
---|---|---|
IndexDeletionPolicy |
IndexWriterConfig.getIndexDeletionPolicy() |
Returns the
IndexDeletionPolicy specified in
IndexWriterConfig.setIndexDeletionPolicy(IndexDeletionPolicy) or the default
KeepOnlyLastCommitDeletionPolicy / |
Modifier and Type | Method | Description |
---|---|---|
static IndexReader |
IndexReader.open(IndexCommit commit,
IndexDeletionPolicy deletionPolicy,
boolean readOnly) |
Deprecated.
Write support will be removed in Lucene 4.0.
|
static IndexReader |
IndexReader.open(IndexCommit commit,
IndexDeletionPolicy deletionPolicy,
boolean readOnly,
int termInfosIndexDivisor) |
Deprecated.
Write support will be removed in Lucene 4.0.
|
static IndexReader |
IndexReader.open(Directory directory,
IndexDeletionPolicy deletionPolicy,
boolean readOnly) |
Deprecated.
Write support will be removed in Lucene 4.0.
|
static IndexReader |
IndexReader.open(Directory directory,
IndexDeletionPolicy deletionPolicy,
boolean readOnly,
int termInfosIndexDivisor) |
Deprecated.
Write support will be removed in Lucene 4.0.
|
IndexWriterConfig |
IndexWriterConfig.setIndexDeletionPolicy(IndexDeletionPolicy delPolicy) |
Expert: allows an optional
IndexDeletionPolicy implementation to be
specified. |
Copyright © 2000-2018 Apache Software Foundation. All Rights Reserved.