|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface SearchEngineOptimizer
Optimizes search engine index data.
Using it, one can controll the lifecycle of the optimizer using the
start() and stop() methods (note that does not
mean that it will start a scheduled optimizer, it depends on the
configuration supplied).
| Method Summary | |
|---|---|
void |
forceOptimize()
Optimzies the search engine regardless if it required optimization or not. |
void |
forceOptimize(String subIndex)
Optimzies the sub index regardless if it required optimization or not. |
boolean |
isRunning()
Returns true if the optimizer is running. |
void |
optimize()
Optimizes the search engine index if it requires optimization. |
void |
optimize(String subIndex)
Optimizes the sub index if it requires optimization. |
void |
start()
Starts the given optimizer. |
void |
stop()
Stops the given optimizer. |
| Method Detail |
|---|
void start()
throws SearchEngineException
SearchEngineException
void stop()
throws SearchEngineException
Note that if the optimizer is stopped while optimizing, it might take some time till the optimizer will actually stop.
SearchEngineExceptionboolean isRunning()
true if the optimizer is running.
void optimize()
throws SearchEngineException
SearchEngineException
void forceOptimize()
throws SearchEngineException
SearchEngineException
void optimize(String subIndex)
throws SearchEngineException
subIndex - The sub index to optimize
SearchEngineException
void forceOptimize(String subIndex)
throws SearchEngineException
subIndex - The sub index to optimize
SearchEngineException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||