Package org.elasticsearch.index.shard
Class RemoveCorruptedLuceneSegmentsAction
java.lang.Object
org.elasticsearch.index.shard.RemoveCorruptedLuceneSegmentsAction
public class RemoveCorruptedLuceneSegmentsAction
extends java.lang.Object
Removes corrupted Lucene index segments
-
Constructor Summary
Constructors Constructor Description RemoveCorruptedLuceneSegmentsAction()
-
Method Summary
Modifier and Type Method Description void
execute(Terminal terminal, org.apache.lucene.store.Directory indexDirectory, org.apache.lucene.store.Lock writeLock, java.io.PrintStream printStream, boolean verbose)
Tuple<RemoveCorruptedShardDataCommand.CleanStatus,java.lang.String>
getCleanStatus(org.apache.lucene.store.Directory indexDirectory, org.apache.lucene.store.Lock writeLock, java.io.PrintStream printStream, boolean verbose)
-
Constructor Details
-
RemoveCorruptedLuceneSegmentsAction
public RemoveCorruptedLuceneSegmentsAction()
-
-
Method Details
-
getCleanStatus
public Tuple<RemoveCorruptedShardDataCommand.CleanStatus,java.lang.String> getCleanStatus(org.apache.lucene.store.Directory indexDirectory, org.apache.lucene.store.Lock writeLock, java.io.PrintStream printStream, boolean verbose) throws java.io.IOException- Throws:
java.io.IOException
-
execute
public void execute(Terminal terminal, org.apache.lucene.store.Directory indexDirectory, org.apache.lucene.store.Lock writeLock, java.io.PrintStream printStream, boolean verbose) throws java.io.IOException- Throws:
java.io.IOException
-