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(org.elasticsearch.cli.Terminal terminal, org.apache.lucene.store.Directory indexDirectory, org.apache.lucene.store.Lock writeLock, PrintStream printStream, boolean verbose)
org.elasticsearch.core.Tuple<RemoveCorruptedShardDataCommand.CleanStatus,String>
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 org.elasticsearch.core.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(org.elasticsearch.cli.Terminal terminal, org.apache.lucene.store.Directory indexDirectory, org.apache.lucene.store.Lock writeLock, PrintStream printStream, boolean verbose) throws IOException- Throws:
IOException
-