DirectoryReferenceCounter referenceCounter = new DirectoryReferenceCounter(directory, gc, closer);
// This directory allows for warm up by adding tracing ability.
TraceableDirectory dir = new TraceableDirectory(referenceCounter);
SimpleTimer simpleTimer = new SimpleTimer();
simpleTimer.start("writerOpen");
_writer = new BlurIndexWriter(dir, conf, true);
simpleTimer.stop("writerOpen");
simpleTimer.start("nrtSetup");
_recorder = new TransactionRecorder(shardContext);
_recorder.replay(_writer);