public void IndexSpellCheckDictionary(string dbIndexName, string spellIndex) { LuceneIndex index = (LuceneIndex)ContentSearchManager.GetIndex(dbIndexName); IndexReader reader = index.CreateReader(LuceneIndexAccess.ReadOnly); FSDirectory dir = FSDirectory.Open(spellIndex); var spell = new SpellChecker.Net.Search.Spell.SpellChecker(dir); string fieldName = "description"; LuceneDictionary dictionary = new LuceneDictionary(reader, fieldName); spell.IndexDictionary(dictionary, 10, 32); }