WithIndexPath(NormalizedPath) Method
Controls the output path of the search index file (by default the destination of the search index file is the same as the script file with a ".index.gz" extension, or ".index.json" extension if ZipIndexFile(bool) is false). or ).
Namespace
Statiq.Lunr
Containing Type
GenerateLunrIndex

Syntax

public GenerateLunrIndex WithIndexPath(in NormalizedPath indexPath)

Parameters

Name Type Description
indexPath NormalizedPath The search index path.

Return Value

Type Description
GenerateLunrIndex The current module instance.