SearchIndex.

SearchIndex(DocumentConfig, FilePath, bool) Constructor

Summary

Creates the search index by using a delegate that returns a SearchIndexItem instance for each input document.
Assembly
Wyam.SearchIndex.dll
Namespace
Wyam.SearchIndex
Containing Type
SearchIndex

Syntax

public SearchIndex(DocumentConfig searchIndexItem, FilePath stopwordsPath = null, bool enableStemming = false)

Parameters

Name Type Description
searchIndexItem DocumentConfig A delegate that should return a SearchIndexItem.
stopwordsPath FilePath A file to use that contains a set of stopwords.
enableStemming bool If set to true, stemming is enabled.

Return Value

Type Description
void
GitHub