Esempio n. 1
0
 /// <summary>
 /// Fills in no-term-vectors for all docs we haven't seen
 /// since the last doc that had term vectors.
 /// </summary>
 internal void Fill(int docID)
 {
     while (lastDocID < docID)
     {
         writer.StartDocument(0);
         writer.FinishDocument();
         lastDocID++;
     }
 }
 public override void FinishDocument()
 {
     Debug.Assert(FieldCount == 0);
     Debug.Assert(DocStatus == Status.STARTED);
     @in.FinishDocument();
     DocStatus = Status.FINISHED;
 }
 public override void FinishDocument()
 {
     if (Debugging.AssertsEnabled)
     {
         Debugging.Assert(fieldCount == 0);
     }
     if (Debugging.AssertsEnabled)
     {
         Debugging.Assert(docStatus == Status.STARTED);
     }
     @in.FinishDocument();
     docStatus = Status.FINISHED;
 }