org.compass.core.lucene.engine.indexdeletionpolicy
Class IndexDeletionPolicyFactory

java.lang.Object
  extended by org.compass.core.lucene.engine.indexdeletionpolicy.IndexDeletionPolicyFactory
All Implemented Interfaces:
CompassConfigurable

public class IndexDeletionPolicyFactory
extends Object
implements CompassConfigurable

An IndexDeletionPolicy factory.

Author:
kimchy

Constructor Summary
IndexDeletionPolicyFactory(LuceneSearchEngineIndexManager indexManager)
           
 
Method Summary
 void configure(CompassSettings settings)
          Configure using the given settings.
 IndexDeletionPolicy createIndexDeletionPolicy(Directory dir)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IndexDeletionPolicyFactory

public IndexDeletionPolicyFactory(LuceneSearchEngineIndexManager indexManager)
Method Detail

configure

public void configure(CompassSettings settings)
               throws CompassException
Description copied from interface: CompassConfigurable
Configure using the given settings.

Specified by:
configure in interface CompassConfigurable
Parameters:
settings - The settings for the configured object
Throws:
CompassException

createIndexDeletionPolicy

public IndexDeletionPolicy createIndexDeletionPolicy(Directory dir)
                                              throws SearchEngineException
Throws:
SearchEngineException


Copyright (c) 2004-2009 The Compass Project.