CheckIndex

constructor(dir: Directory, writeLock: Lock = dir.obtainLock(IndexWriter.WRITE_LOCK_NAME))