org.kuali.ole.docstore.discovery.service
Interface AdminService

All Known Implementing Classes:
AdminServiceImpl, DummyAdminService

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

optimize

void optimize(String indexName)
              throws Exception
Optimizes the given index. (In solr, it is called core.)

Parameters:
indexName -
Throws:
Exception

optimize

void optimize()
              throws Exception
Optimizes all available indexes.

Throws:
Exception

optimize

void optimize(Boolean waitFlush,
              Boolean waitSearcher)
              throws Exception
Optimize the indexes according to params

Parameters:
waitFlush -
waitSearcher -
Throws:
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.


Copyright © 2004-2013 The Kuali Foundation. All Rights Reserved.