WithStopWords(Config<IEnumerable<string>>) Method
Specifies stops words to use for the search index. By default a pre-defined set of English stop words are used.
Namespace
Statiq.Lunr
Containing Type
GenerateLunrIndex

Syntax

public GenerateLunrIndex WithStopWords(Config<IEnumerable<string>> getStopWords)

Parameters

Name Type Description
getStopWords Config<IEnumerable<string>> A delegate that returns the stop words to use. Set to null to use the default English stop words.

Return Value

Type Description
GenerateLunrIndex The current module instance.