211212213214215216217
} w.forceMerge(1); w.commit(); w.close(); DirectoryReader reader = DirectoryReader.open(d); return new AllDeletedFilterReader(LuceneTestCase.getOnlySegmentReader(reader)); }
217218219220221222223
w.close(); if (LuceneTestCase.VERBOSE) { System.out.println("NOTE: QueryUtils: done create empty index"); } DirectoryReader reader = DirectoryReader.open(d); return new AllDeletedFilterReader(LuceneTestCase.getOnlySegmentReader(reader)); }