Sets a custom metadata key to use to get search items from each document if the document provides search items via metadata.
- Namespace
- Statiq
.Lunr - Containing Type
- GenerateLunrIndex
Syntax
public GenerateLunrIndex WithSearchItemsKey(string searchItemsKey)
Parameters
| Name | Type | Description |
|---|---|---|
| searchItemsKey | string | The search items key to use. |
Return Value
| Type | Description |
|---|---|
| GenerateLunrIndex | The current module instance. |