org.compass.core.lucene.engine.optimizer
Class NullOptimizer

java.lang.Object
  extended by org.compass.core.lucene.engine.optimizer.AbstractOptimizer
      extended by org.compass.core.lucene.engine.optimizer.NullOptimizer
All Implemented Interfaces:
SearchEngineOptimizer, LuceneSearchEngineOptimizer

public class NullOptimizer
extends AbstractOptimizer

Author:
kimchy

Field Summary
 
Fields inherited from class org.compass.core.lucene.engine.optimizer.AbstractOptimizer
log
 
Constructor Summary
NullOptimizer()
           
 
Method Summary
 boolean canBeScheduled()
          Can the optimizer be scheduled or not.
protected  void doOptimize(String subIndex)
           
protected  boolean isOptimizeOnlyIfIndexChanged()
           
 
Methods inherited from class org.compass.core.lucene.engine.optimizer.AbstractOptimizer
doStart, doStop, getSearchEngineFactory, isRunning, optimize, optimize, setSearchEngineFactory, start, stop
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NullOptimizer

public NullOptimizer()
Method Detail

isOptimizeOnlyIfIndexChanged

protected boolean isOptimizeOnlyIfIndexChanged()

canBeScheduled

public boolean canBeScheduled()
Description copied from interface: LuceneSearchEngineOptimizer
Can the optimizer be scheduled or not.


doOptimize

protected void doOptimize(String subIndex)
                   throws SearchEngineException
Specified by:
doOptimize in class AbstractOptimizer
Throws:
SearchEngineException


Copyright (c) 2004-2008 The Compass Project.