Turns on stemming, which reduces words to their base form,
using a custom stemming delegate. Note that turning
on stemming reduces the effectiveness of wildcard searches and disables the
default client-side typeahead search behavior in the generated JavaScript file.
Syntax
public GenerateLunrIndex WithStemming(Func<string, string> stem)
Parameters
Name |
Type |
Description |
stem |
Func<string, string> |
A delegate that returns the stemmed version of each word (or the original word if it does not have a stem). |
Return Value