WithResultsPath(NormalizedPath) Method
Controls the output path of the results file that holds search field values as defined by Result (by default the destination of the search index file is the same as the script file with a ".results.json" extension).
Namespace
Statiq.Lunr
Containing Type
GenerateLunrIndex

Syntax

public GenerateLunrIndex WithResultsPath(in NormalizedPath resultsPath)

Parameters

Name Type Description
resultsPath NormalizedPath The results file path.

Return Value

Type Description
GenerateLunrIndex The current module instance.