22 namespace Lucene.Net.Index
29 internal System.String segmentName;
30 internal System.String docStoreSegmentName;
32 internal int termIndexInterval;
33 internal int numDocsInStore;
34 internal System.Collections.Generic.ICollection<
string> flushedFiles;
38 this.docWriter = docWriter;
39 this.directory = directory;
40 this.segmentName = segmentName;
41 this.docStoreSegmentName = docStoreSegmentName;
42 this.numDocs = numDocs;
43 this.numDocsInStore = numDocsInStore;
44 this.termIndexInterval = termIndexInterval;
45 flushedFiles =
new System.Collections.Generic.HashSet<
string>();
48 public virtual System.String SegmentFileName(System.String ext)
50 return segmentName +
"." + ext;