|
||||||||||
| 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 thestart() and stop() methods (note that does not
mean that it will start a scheduled optimizer, it depends on the
configuration supplied).
You can also check if the search engine required optimization using the
needOptimization() method, and run the optimization process
using the optimize() method.
| Method Summary | |
|---|---|
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
SearchEngineExceptionboolean isRunning()
true if the optimizer is running.
true if the optimizer is running
void optimize()
throws SearchEngineException
SearchEngineException
void optimize(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 | |||||||||