|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use IndexDeletionPolicy | |
---|---|
org.apache.lucene.index | Code to maintain and access indices. |
Uses of IndexDeletionPolicy in org.apache.lucene.index |
---|
Classes in org.apache.lucene.index that implement IndexDeletionPolicy | |
---|---|
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 |
SnapshotDeletionPolicy
A IndexDeletionPolicy that wraps around any other
IndexDeletionPolicy and adds the ability to hold and
later release a single "snapshot" of an index. |
Methods in org.apache.lucene.index with parameters of type IndexDeletionPolicy | |
---|---|
static IndexReader |
IndexReader.open(Directory directory,
IndexDeletionPolicy deletionPolicy)
Expert: returns an IndexReader reading the index in the given Directory, with a custom IndexDeletionPolicy . |
Constructors in org.apache.lucene.index with parameters of type IndexDeletionPolicy | |
---|---|
IndexWriter(Directory d,
boolean autoCommit,
Analyzer a,
boolean create,
IndexDeletionPolicy deletionPolicy)
Expert: constructs an IndexWriter with a custom IndexDeletionPolicy , for the index in d . |
|
IndexWriter(Directory d,
boolean autoCommit,
Analyzer a,
IndexDeletionPolicy deletionPolicy)
Expert: constructs an IndexWriter with a custom IndexDeletionPolicy , for the index in d ,
first creating it if it does not already exist. |
|
SnapshotDeletionPolicy(IndexDeletionPolicy primary)
|
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |