|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface LuceneSearchEngineOptimizer
An internal Lucene interface for managing index optimizations.
| Method Summary | |
|---|---|
boolean |
canBeScheduled()
Can the optimizer be scheduled or not. |
void |
optimize()
Optimizes the search engine index if it requires optimization. |
void |
optimize(int maxNumberOfSegments)
Forces an optimization to occur and maintain to the number of "mergeFactor" segments. |
void |
optimize(String subIndex)
Optimizes the sub index if it requires optimization. |
void |
optimize(String subIndex,
int maxNumberOfSegments)
Forces an optimization to occur for the specific sub index and maintain to the number of "mergeFactor" segments. |
| Method Detail |
|---|
boolean canBeScheduled()
void optimize()
throws SearchEngineException
SearchEngineException
void optimize(int maxNumberOfSegments)
throws SearchEngineException
SearchEngineException
void optimize(String subIndex)
throws SearchEngineException
subIndex - The sub index to optimize
SearchEngineException
void optimize(String subIndex,
int maxNumberOfSegments)
throws SearchEngineException
SearchEngineException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||