Class CheckIndex

java.lang.Object
org.apache.lucene.index.CheckIndex
All Implemented Interfaces:
Closeable, AutoCloseable

public final class CheckIndex extends Object implements Closeable
Basic tool and API to check the health of an index and write a new segments file that removes reference to problematic segments.

As this tool checks every byte in the index, on a large index it can take quite a long time to run.