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