code: private void resetVolatileIndex() throws IOException
     {
        volatileIndex = new VolatileIndex(handler.getTextAnalyzer(), handler.getSimilarity());
        volatileIndex.setUseCompoundFile(handler.getUseCompoundFile());
        volatileIndex.setMaxFieldLength(handler.getMaxFieldLength());
        volatileIndex.setBufferSize(handler.getBufferSize());
     }
docs: Resets the volatile index to a new instance.