Example #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++;
     }
 }
Example #2
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++;
     }
 }