final IndexReader newIndexReader = writerHolder.openNRTIndexReader( flushDeletes );
final IndexReader oldReader = currentReader.getAndSet( newIndexReader );
this.currentReaderGen = openingGen;
try {
if ( oldReader != null ) {
oldReader.decRef();
}
}
catch ( IOException e ) {
log.unableToCloseLuceneIndexReader( e );
}