|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface AdminService
Class for administrative or maintenance services. User: tirumalesh.b Date: 23/12/11 Time: 11:26 AM
Method Summary | |
---|---|
void |
optimize()
Optimizes all available indexes. |
void |
optimize(Boolean waitFlush,
Boolean waitSearcher)
Optimize the indexes according to params |
void |
optimize(String indexName)
Optimizes the given index. |
Method Detail |
---|
void optimize(String indexName) throws Exception
indexName
-
Exception
void optimize() throws Exception
Exception
void optimize(Boolean waitFlush, Boolean waitSearcher) throws Exception
waitFlush
- waitSearcher
-
Exception
- waitFlush Default is true. Blocks until index changes are flushed to disk.
waitSearcher Default is true. Blocks until a new searcher is opened and registered as
the main query searcher, making the changes visible.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |