Suggest
- Namespace
- Rowles.LeanCorpus.Search.Suggestions
- Assembly
- Rowles.LeanCorpus.dll
Methods
Suggest(IndexSearcher, string, string, int, int)
Suggests corrections for
queryTermin the givenfield. The underlying SpellIndex is built once per searcher/field pair and cached for subsequent calls. For explicit control over the index lifecycle, use Suggest(SpellIndex, string, int, int) with a manually built index.
Suggest(SpellIndex, string, int, int)
Suggests corrections using a pre-built SpellIndex. Use this overload when issuing multiple suggestions against the same index to avoid rebuilding the trigram index on every call.