assertSame(boboReader,reader);
Directory tmpDir = new RAMDirectory();
IndexWriter subWriter = new IndexWriter(tmpDir,new StandardAnalyzer(Version.LUCENE_29),MaxFieldLength.UNLIMITED);
subWriter.addDocument(doc);
subWriter.optimize();
subWriter.close();
writer.addIndexesNoOptimize(new Directory[]{tmpDir});
writer.commit();
reader = (BoboIndexReader)boboReader.reopen();
assertNotSame(boboReader, reader);