Uses of Interface
org.apache.lucene.index.IndexDeletionPolicy

Packages that use IndexDeletionPolicy
org.apache.lucene.benchmark.byTask.tasks Extendable benchmark tasks. 
org.apache.lucene.benchmark.utils   
org.apache.lucene.index Code to maintain and access indices. 
 

Uses of IndexDeletionPolicy in org.apache.lucene.benchmark.byTask.tasks
 

Methods in org.apache.lucene.benchmark.byTask.tasks that return IndexDeletionPolicy
static IndexDeletionPolicy CreateIndexTask.getIndexDeletionPolicy(Config config)
           
 

Uses of IndexDeletionPolicy in org.apache.lucene.benchmark.utils
 

Classes in org.apache.lucene.benchmark.utils that implement IndexDeletionPolicy
 class NoDeletionPolicy
           
 

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, boolean readOnly)
          Expert: returns an IndexReader reading the index in the given Directory, with a custom IndexDeletionPolicy.
static IndexReader IndexReader.open(Directory directory, IndexDeletionPolicy deletionPolicy, boolean readOnly, int termInfosIndexDivisor)
          Expert: returns an IndexReader reading the index in the given Directory, with a custom IndexDeletionPolicy.
static IndexReader IndexReader.open(IndexCommit commit, IndexDeletionPolicy deletionPolicy, boolean readOnly)
          Expert: returns an IndexReader reading the index in the given Directory, using a specific commit and with a custom IndexDeletionPolicy.
static IndexReader IndexReader.open(IndexCommit commit, IndexDeletionPolicy deletionPolicy, boolean readOnly, int termInfosIndexDivisor)
          Expert: returns an IndexReader reading the index in the given Directory, using a specific commit and with a custom IndexDeletionPolicy.
 

Constructors in org.apache.lucene.index with parameters of type IndexDeletionPolicy
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, 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.
SnapshotDeletionPolicy(IndexDeletionPolicy primary)
           
 



Copyright © 2000-2010 Apache Software Foundation. All Rights Reserved.