BlurIndex index = entry.getValue();
IndexSearcherClosable searcher = index.getIndexReader();
try {
IndexReader indexReader = searcher.getIndexReader();
if (indexReader instanceof ExitableReader) {
ExitableReader er = (ExitableReader) indexReader;
er.setRunning(_running);
} else {
throw new IOException("IndexReader is not ExitableReader");
}
if (_shardServerContext != null) {
_shardServerContext.setIndexSearcherClosable(_table, shard, searcher);