예제 #1
0
 public void SetUp()
 {
     this.index = CreateNewIndex(4);
     this.PopulateIndex(this.index);
     this.legacyIndex = CreateLegacyIndex();
     this.PopulateIndex(this.legacyIndex);
 }
예제 #2
0
 protected void PopulateIndex(LiftiNew.Lifti.FullTextIndex <string> index)
 {
     foreach (var entry in WikipediaData.SampleData)
     {
         index.Index(entry.name, entry.text, new LiftiNew.Lifti.TokenizationOptions(LiftiNew.Lifti.Tokenization.TokenizerKind.XmlContent));
     }
 }