org.xcmis.search.lucene
Class IndexRecoveryTool

java.lang.Object
  extended by org.xcmis.search.lucene.IndexRecoveryTool

public class IndexRecoveryTool
extends Object

Tools for index recovering.


Field Summary
static int BUFFER_MAX_SIZE
          Max documents count in buffer.
 
Constructor Summary
IndexRecoveryTool(LuceneQueryableIndexStorage indexStorage, LuceneIndexer nodeIndexer, IndexConfiguration indexConfiguration)
           
 
Method Summary
 void recover(Iterator<String> uuids)
          Refresh the index of documents returned by 'uuids' iterator.
 void recoverAll()
          Recover all content.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

BUFFER_MAX_SIZE

public static final int BUFFER_MAX_SIZE
Max documents count in buffer.

See Also:
Constant Field Values
Constructor Detail

IndexRecoveryTool

public IndexRecoveryTool(LuceneQueryableIndexStorage indexStorage,
                         LuceneIndexer nodeIndexer,
                         IndexConfiguration indexConfiguration)
Parameters:
indexStorage -
nodeIndexer -
indexConfiguration -
Method Detail

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 © 2011 eXo Platform SAS. All Rights Reserved.