public void SetUp() { this.index = CreateNewIndex(4); this.PopulateIndex(this.index); this.legacyIndex = CreateLegacyIndex(); this.PopulateIndex(this.legacyIndex); }
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)); } }