Spring over navigation

The Azure Quickstart templates are currently available in English

Azure Cognitive Search service

Sidst opdateret: 11-06-2021

This template creates an Azure Cognitive Search service

Denne ARM-skabelon (Azure Resource Manager) blev oprettet af et medlem af communityet og ikke af Microsoft. Hver ARM-skabelon er givet i licens til dig under en licensaftale med ejeren af skabelonen og ikke med Microsoft. Microsoft kan ikke gøres ansvarlig for de ARM-skabeloner, der leveres og gives i licens af communitymedlemmer, og vi undersøger dem ikke for sikkerhed, kompatibilitet eller ydeevne. ARM-skabeloner fra communytiet understøttes ikke af noget eller nogen Microsoft-supportprogram eller -tjeneste, og de stilles til rådighed, SOM DE ER, uden nogen former for garanti.


Parameternavn Beskrivelse
name Service name must only contain lowercase letters, digits or dashes, cannot use dash as the first two or last one characters, cannot contain consecutive dashes, and is limited between 2 and 60 characters in length.
sku The pricing tier of the search service you want to create (for example, basic or standard).
replicaCount Replicas distribute search workloads across the service. You need at least two replicas to support high availability of query workloads (not applicable to the free tier).
partitionCount Partitions allow for scaling of document count as well as faster indexing by sharding your index over multiple search units.
hostingMode Applicable only for SKUs set to standard3. You can set this property to enable a single, high density partition that allows up to 1000 indexes, which is much higher than the maximum indexes allowed for any other SKU.
location Location for all resources.

Brug skabelonen


New-AzResourceGroup -Name <resource-group-name> -Location <resource-group-location> #use this command when you need to create a new resource group for your deployment
New-AzResourceGroupDeployment -ResourceGroupName <resource-group-name> -TemplateUri https://raw.githubusercontent.com/Azure/azure-quickstart-templates/master/quickstarts/microsoft.search/azure-search-create/azuredeploy.json
Installér og konfigurer Azure PowerShell


az group create --name <resource-group-name> --location <resource-group-location> #use this command when you need to create a new resource group for your deployment
az group deployment create --resource-group <my-resource-group> --template-uri https://raw.githubusercontent.com/Azure/azure-quickstart-templates/master/quickstarts/microsoft.search/azure-search-create/azuredeploy.json
Installér og konfigurer Azure-kommandolinjegrænsefladen til flere platforme