DeploySearchIndex(Config<string>, Config<string>, Config<string>, Config<IEnumerable<Field>>) Constructor
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<string> The name of the search service.
indexName Config<string> The name of the search index.
apiKey Config<string> The API key used to authenticate.
fields Config<IEnumerable<Field>> The search index fields. The field will be populated with the metadata value of the same name from each input document.