org.xcmis.search.lucene
Class IndexRecoveryTool
java.lang.Object
org.xcmis.search.lucene.IndexRecoveryTool
public class IndexRecoveryTool
- extends Object
Tools for index recovering.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BUFFER_MAX_SIZE
public static final int BUFFER_MAX_SIZE
- Max documents count in buffer.
- See Also:
- Constant Field Values
IndexRecoveryTool
public IndexRecoveryTool(LuceneQueryableIndexStorage indexStorage,
LuceneIndexer nodeIndexer,
IndexConfiguration indexConfiguration)
- Parameters:
indexStorage - nodeIndexer - indexConfiguration -
recover
public void recover(Iterator<String> uuids)
throws IndexException
- Refresh the index of documents returned by 'uuids' iterator.
- Parameters:
uuids -
- Throws:
IndexException
recoverAll
public void recoverAll()
throws IndexException
- Recover all content.
- Throws:
IndexException
Copyright © 2010 eXo Platform SAS. All Rights Reserved.