}
throw new IOException("Table [" + table + "] not found.");
}
private BlurIndex openIndex(String table, String shard, Directory dir) throws CorruptIndexException, IOException {
ShardContext shardContext = ShardContext.create(_tableContext, shard);
BlurIndexSimpleWriter index = new BlurIndexSimpleWriter(shardContext, dir, _mergeScheduler, _searchExecutor,
_indexCloser, _indexWarmup);
return index;
}