org.compass.core.lucene
Class LuceneEnvironment.IndexDeletionPolicy

java.lang.Object
  extended by org.compass.core.lucene.LuceneEnvironment.IndexDeletionPolicy
Enclosing class:
LuceneEnvironment

public abstract static class LuceneEnvironment.IndexDeletionPolicy
extends Object

Settings used to control Lucene IndexDeletionPolicy creation.


Nested Class Summary
static class LuceneEnvironment.IndexDeletionPolicy.ExpirationTime
           
static class LuceneEnvironment.IndexDeletionPolicy.KeepAll
           
static class LuceneEnvironment.IndexDeletionPolicy.KeepLastCommit
          An index deletion policy that keeps only the last commit.
static class LuceneEnvironment.IndexDeletionPolicy.KeepLastN
          An index deletion policy that keeps on the last N number of commits.
static class LuceneEnvironment.IndexDeletionPolicy.KeepNoneOnInit
           
 
Field Summary
static String PREFIX
           
static String TYPE
          The type of the index deleteion policy.
 
Constructor Summary
LuceneEnvironment.IndexDeletionPolicy()
           
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PREFIX

public static final String PREFIX
See Also:
Constant Field Values

TYPE

public static final String TYPE
The type of the index deleteion policy. Can eb one of the logical names that comes built in with Compass, such as LuceneEnvironment.IndexDeletionPolicy.KeepLastCommit.NAME, or the fully qualified class name of the actual implementation. In suce a case, the implementation can also implement CompassConfigurable and/or DirectoryConfigurable in order to be further configured.

See Also:
Constant Field Values
Constructor Detail

LuceneEnvironment.IndexDeletionPolicy

public LuceneEnvironment.IndexDeletionPolicy()


Copyright (c) 2004-2008 The Compass Project.