SearchIndex.

SearchIndex(string, FilePath, bool) Constructor

Summary

Creates the search index by looking for a specified metadata key in each input document that contains a SearchIndexItem instance.
Assembly
Wyam.SearchIndex.dll
Namespace
Wyam.SearchIndex
Containing Type
SearchIndex

Syntax

public SearchIndex(string searchIndexItemMetadataKey, FilePath stopwordsPath = null, bool enableStemming = false)

Parameters

Name Type Description
searchIndexItemMetadataKey string The metadata key that contains the SearchIndexItem instance.
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