Ejemplo n.º 1
0
 /// <summary> </summary>
 /// <param name="writer">The writer to write to
 /// </param>
 /// <param name="j">The Field number
 /// </param>
 /// <throws>  IOException </throws>
 private void  WriteField(TermVectorsWriter writer, System.String f)
 {
     writer.OpenField(f);
     Assert.IsTrue(writer.IsFieldOpen() == true);
     for (int i = 0; i < testTerms.Length; i++)
     {
         writer.AddTerm(testTerms[i], i);
     }
     writer.CloseField();
 }
Ejemplo n.º 2
0
		/// <summary> </summary>
		/// <param name="writer">The writer to write to
		/// </param>
		/// <param name="j">The Field number
		/// </param>
		/// <throws>  IOException </throws>
		private void  WriteField(TermVectorsWriter writer, System.String f)
		{
			writer.OpenField(f);
			Assert.IsTrue(writer.IsFieldOpen() == true);
			for (int i = 0; i < testTerms.Length; i++)
			{
				writer.AddTerm(testTerms[i], i);
			}
			writer.CloseField();
		}