indexSearchers.put( identifier, searcher );
}
else
{
Triplet<IndexWriter, AtomicBoolean, SnapshotDeletionPolicy> writer = indexWriters.get( identifier );
if ( writer != null && writer.second().compareAndSet( true, false ) )
{
searcher = refreshSearcher( searcher );
if ( searcher != null )
{
indexSearchers.put( identifier, searcher );