Skip to content

Commit 0733b60

Browse files
authored
Clarify which search Skus are compatible (#642)
* Adding anchors * Free wont work
1 parent 60f7685 commit 0733b60

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ However, you can try the [Azure pricing calculator](https://azure.com/e/8ffbe5b1
6666
- Azure Blob Storage: Standard tier with ZRS (Zone-redundant storage). Pricing per storage and read operations. [Pricing](https://azure.microsoft.com/pricing/details/storage/blobs/)
6767
- Azure Monitor: Pay-as-you-go tier. Costs based on data ingested. [Pricing](https://azure.microsoft.com/pricing/details/monitor/)
6868

69-
To reduce costs, you can switch to free SKUs for Azure App Service, Azure Cognitive Search, and Form Recognizer by changing the parameters file under the `infra` folder. There are some limits to consider; for example, you can have up to 1 free Cognitive Search resource per subscription, and the free Form Recognizer resource only analyzes the first 2 pages of each document. You can also reduce costs associated with the Form Recognizer by reducing the number of documents in the `data` folder, or by removing the postprovision hook in `azure.yaml` that runs the `prepdocs.py` script.
69+
To reduce costs, you can switch to free SKUs for Azure App Service and Form Recognizer by changing the parameters file under the `infra` folder. There are some limits to consider; for example, the free Form Recognizer resource only analyzes the first 2 pages of each document. You can also reduce costs associated with the Form Recognizer by reducing the number of documents in the `data` folder, or by removing the postprovision hook in `azure.yaml` that runs the `prepdocs.py` script.
7070

7171
⚠️ To avoid unnecessary costs, remember to take down your app if it's no longer in use,
7272
either by deleting the resource group in the Portal or running `azd down`.
@@ -144,7 +144,7 @@ If you already have existing Azure resources, you can re-use those by setting `a
144144
1. Run `azd env set AZURE_SEARCH_SERVICE_RESOURCE_GROUP {Name of existing resource group with ACS service}`
145145
1. If that resource group is in a different location than the one you'll pick for the `azd up` step,
146146
then run `azd env set AZURE_SEARCH_SERVICE_LOCATION {Location of existing service}`
147-
1. If the search service's SKU is not standard, then run `azd env set AZURE_SEARCH_SERVICE_SKU {Name of SKU}`. ([See possible values](https://learn.microsoft.com/azure/templates/microsoft.search/searchservices?pivots=deployment-language-bicep#sku))
147+
1. If the search service's SKU is not standard, then run `azd env set AZURE_SEARCH_SERVICE_SKU {Name of SKU}`. The free tier won't work as it doesn't support managed identity. ([See other possible values](https://learn.microsoft.com/azure/templates/microsoft.search/searchservices?pivots=deployment-language-bicep#sku))
148148

149149
#### Other existing Azure resources
150150

infra/main.bicep

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@ param applicationInsightsName string = ''
1818
param searchServiceName string = ''
1919
param searchServiceResourceGroupName string = ''
2020
param searchServiceLocation string = ''
21+
// The free tier does not support managed identity (required) or semantic search (optional)
22+
@allowed(['basic', 'standard', 'standard2', 'standard3', 'storage_optimized_l1', 'storage_optimized_l2'])
2123
param searchServiceSkuName string // Set in main.parameters.json
2224
param searchIndexName string // Set in main.parameters.json
2325

0 commit comments

Comments
 (0)