Build
- Namespace
- Rowles.LeanLucene.Search.Suggestions
- Assembly
- Rowles.LeanLucene.dll
Methods
Build(IndexSearcher, string)
Builds a SpellIndex for the given field by extracting all unique terms from the segment readers and constructing a trigram inverted index. This is an O(T * L) operation where T is the unique term count and L is average term length. Call once and reuse for multiple Suggest(string, int, int) calls.