22 namespace Lucene.Net.Index
36 this.termsWriter = termsWriter;
37 this.termsHashPerThread = termsHashPerThread;
38 docState = termsHashPerThread.docState;
46 public override void StartDocument()
48 System.Diagnostics.Debug.Assert(ClearLastVectorFieldName());
52 doc.docID = docState.docID;
73 public override void Abort()
83 internal bool ClearLastVectorFieldName()
85 lastVectorFieldName = null;
90 internal System.String lastVectorFieldName;
91 internal bool VectorFieldsInOrder(FieldInfo fi)
95 if (lastVectorFieldName != null)
96 return String.CompareOrdinal(lastVectorFieldName, fi.name) < 0;
102 lastVectorFieldName = fi.name;