public IndexSplitter(DirectoryInfo dir) { this.dir = dir; fsDir = FSDirectory.Open(dir); infos = new SegmentInfos(); infos.Read(fsDir); }