WithStemming(bool) Method
Turns on stemming, which reduces words to their base form, using a default English stemmer. You can customize stemming and supply a stemming delegate using WithStemming(Func<string, string>). 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.
Namespace
Statiq.Lunr
Containing Type
GenerateLunrIndex

Syntax

public GenerateLunrIndex WithStemming(bool stemming = true)

Parameters

Name Type Description
stemming bool true to turn on stemming, false otherwise.

Return Value

Type Description
GenerateLunrIndex The current module instance.