22 namespace Lucene.Net.Index
29 internal System.String segment;
34 internal int totalNumDocs;
39 dir = state.directory;
40 segment = state.segmentName;
41 totalNumDocs = state.numDocs;
42 this.fieldInfos = fieldInfos;
43 termsOut =
new TermInfosWriter(dir, segment, fieldInfos, state.termIndexInterval);
49 skipListWriter =
new DefaultSkipListWriter(termsOut.skipInterval, termsOut.maxSkipLevels, totalNumDocs, null, null);
60 termsWriter.SetField(field);
65 internal override void Finish()
68 termsWriter.Dispose();