Deploys an Azure Search Service index using data from the metadata of input documents.
- Namespace
- Statiq
.Web .Azure - Containing Type
- DeploySearchIndex
Syntax
public DeploySearchIndex(Config<string> searchServiceName, Config<string> indexName, Config<string> apiKey, Config<IEnumerable<Field>> fields)
Parameters
Name | Type | Description |
---|---|---|
searchServiceName | Config |
The name of the search service. |
indexName | Config |
The name of the search index. |
apiKey | Config |
The API key used to authenticate. |
fields | Config |
The search index fields. The field will be populated with the metadata value of the same name from each input document. |