Skip to content

Commit 9ed02ca

Browse files
authored
Merge pull request #5273 from HeidiSteen/heidist-freshness
Freshness pass, #2
2 parents 34232e1 + 1a5ebb0 commit 9ed02ca

10 files changed

+50
-40
lines changed

articles/search/search-dotnet-sdk-migration-version-11.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ ms.author: heidist
99
ms.service: azure-ai-search
1010
ms.devlang: csharp
1111
ms.topic: conceptual
12-
ms.date: 12/10/2024
12+
ms.date: 05/29/2025
1313
ms.custom:
1414
- devx-track-csharp
1515
- devx-track-dotnet

articles/search/search-how-to-alias.md

Lines changed: 36 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -8,36 +8,54 @@ ms.service: azure-ai-search
88
ms.custom:
99
- ignite-2023
1010
ms.topic: how-to
11-
ms.date: 12/10/2024
11+
ms.date: 05/29/2025
1212
---
1313

1414
# Create an index alias in Azure AI Search
1515

1616
> [!IMPORTANT]
1717
> Index aliases are currently in public preview and available under [supplemental terms of use](https://azure.microsoft.com/support/legal/preview-supplemental-terms/).
1818
19-
In Azure AI Search, an index alias is a secondary name that can be used to refer to an index for querying, indexing, and other operations. You can create an alias that maps to a search index and substitute the alias name in places where you would otherwise reference an index name. An alias adds flexibility if you need to change which index your application is pointing to. Instead of updating the references in your application, you can just update the mapping for your alias.
19+
An index alias in Azure AI Search is an alternate name for an index. You can use the alias instead of the index name in your application, which minimizes future updates to production code. If you need to switch to a newer index, you can update the alias mapping.
2020

21-
The main goal of index aliases is to make it easier to manage your production indexes. For example, if you need to make a change to your index definition, such as editing a field or adding a new analyzer, you'll have to create a new search index because all search indexes are immutable. This means you either need to [drop and rebuild your index](search-howto-reindex.md) or create a new index and then migrate your application over to that index.
21+
Before using an alias, your application sends requests directly to `hotel-samples-index`.
2222

23-
Instead of dropping and rebuilding your index, you can use index aliases. A typical workflow would be to:
23+
```http
24+
POST /indexes/hotel-samples-index/docs/search?api-version=2025-05-01-preview
25+
{
26+
"search": "pool spa +airport",
27+
"select": "HotelId, HotelName, Category, Description",
28+
"count": true
29+
}
30+
```
2431

25-
1. Create your search index
26-
1. Create an alias that maps to your search index
27-
1. Have your application send querying/indexing requests to the alias rather than the index name
28-
1. When you need to make a change to your index that requires a rebuild, create a new search index
29-
1. When your new index is ready to go, update the alias to map to the new index and requests will automatically be routed to the new index
32+
After using an alias, your application sends requests to `my-alias`, which maps to `hotel-samples-index`.
33+
34+
```http
35+
POST /indexes/my-alias/docs/search?api-version=2025-05-01-preview
36+
{
37+
"search": "pool spa +airport",
38+
"select": "HotelId, HotelName, Category, Description",
39+
"count": true
40+
}
41+
```
42+
43+
## Supported scenarios
44+
45+
You can only use an alias with document operations or to get and update an index definition.
46+
47+
Aliases can't be used to [delete an index](/rest/api/searchservice/indexes/delete), or [test text tokenization](/rest/api/searchservice/indexes/analyze), or referenced as the `targetIndexName` on an [indexer](/rest/api/searchservice/indexers/create-or-update).
3048

3149
## Create an index alias
3250

3351
You can create an alias using the preview REST API, the preview SDKs, or through the [Azure portal](https://portal.azure.com). An alias consists of the `name` of the alias and the name of the search index that the alias is mapped to. Only one index name can be specified in the `indexes` array.
3452

3553
### [**REST API**](#tab/rest)
3654

37-
You can use the [Create or Update Alias (REST preview)](/rest/api/searchservice/aliases/create-or-update?view=rest-searchservice-2024-05-01-preview&preserve-view=true) to create an index alias.
55+
You can use the [Create or Update Alias (REST preview)](/rest/api/searchservice/aliases/create-or-update?view=rest-searchservice-2025-05-01-preview&preserve-view=true) to create an index alias.
3856

3957
```http
40-
POST /aliases?api-version=2024-05-01-preview
58+
POST /aliases?api-version=2025-05-01-preview
4159
{
4260
"name": "my-alias",
4361
"indexes": ["hotel-samples-index"]
@@ -75,12 +93,12 @@ Index aliases are also supported in the latest preview SDKs for [Java](https://c
7593

7694
## Send requests to an index alias
7795

78-
Once you've created your alias, you're ready to start using it. Aliases can be used for all document operations including querying, indexing, suggestions, and autocomplete.
96+
Aliases can be used for all document operations including querying, indexing, suggestions, and autocomplete.
7997

80-
In the query below, instead of sending the request to `hotel-samples-index`, you can instead send the request to `my-alias` and it will be routed accordingly.
98+
This query sends the request to `my-alias`, which is mapped to an actual index on your search service.
8199

82100
```http
83-
POST /indexes/my-alias/docs/search?api-version=2024-05-01-preview
101+
POST /indexes/my-alias/docs/search?api-version=2025-05-01-preview
84102
{
85103
"search": "pool spa +airport",
86104
"searchMode": any,
@@ -90,29 +108,19 @@ POST /indexes/my-alias/docs/search?api-version=2024-05-01-preview
90108
}
91109
```
92110

93-
If you expect to make updates to a production index, specify an alias rather than the index name in your client-side application. Scenarios that require an index rebuild are outlined in [Drop and rebuild an index](search-howto-reindex.md).
94-
95-
> [!NOTE]
96-
> You can only use an alias with document operations or to get and update an index definition. Aliases can't be used to delete an index, can't be used with the Analyze Text API, and can't be used as the `targetIndexName` on an indexer.
97-
>
98-
> An update to an alias may take up to 10 seconds to propagate through the system so you should wait at least 10 seconds before performing any operation in the index that has been mapped or recently was mapped to the alias.
111+
## Update an alias
99112

100-
## Swap indexes
101-
102-
Now, whenever you need to update your application to point to a new index, all you need to do is update the mapping in your alias. PUT is required for updates as described in [Create or Update Alias (REST preview)](/rest/api/searchservice/aliases/create-or-update?view=rest-searchservice-2024-05-01-preview&preserve-view=true).
113+
PUT is required for alias updates as described in [Create or Update Alias (REST preview)](/rest/api/searchservice/aliases/create-or-update?view=rest-searchservice-2025-05-01-preview&preserve-view=true).
103114

104115
```http
105-
PUT /aliases/my-alias?api-version=2024-05-01-preview
116+
PUT /aliases/my-alias?api-version=2025-05-01-preview
106117
{
107118
"name": "my-alias",
108119
"indexes": ["hotel-samples-index2"]
109120
}
110121
```
111122

112-
After you make the update to the alias, requests will automatically start to be routed to the new index.
113-
114-
> [!NOTE]
115-
> An update to an alias may take up to 10 seconds to propagate through the system so you should wait at least 10 seconds before deleting the index that the alias was previously mapped to.
123+
An update to an alias may take up to 10 seconds to propagate through the system so you should wait at least 10 seconds before deleting the index that the alias was previously mapped to.
116124

117125
## See also
118126

articles/search/search-howto-index-cosmosdb-gremlin.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ ms.service: azure-ai-search
1111
ms.custom:
1212
- ignite-2023
1313
ms.topic: how-to
14-
ms.date: 12/10/2024
14+
ms.date: 05/29/2025
1515
---
1616

1717
# Index data from Azure Cosmos DB for Apache Gremlin for queries in Azure AI Search

articles/search/search-howto-index-cosmosdb-mongodb.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ ms.service: azure-ai-search
88
ms.custom:
99
- ignite-2023
1010
ms.topic: how-to
11-
ms.date: 12/10/2024
11+
ms.date: 05/29/2025
1212
---
1313

1414
# Index data from Azure Cosmos DB for MongoDB for queries in Azure AI Search

articles/search/search-howto-managed-identities-data-sources.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ ms.custom:
1111
- ignite-2023
1212
- build-2024
1313
ms.topic: how-to
14-
ms.date: 11/22/2024
14+
ms.date: 05/29/2025
1515
---
1616

1717
# Configure a search service to connect using a managed identity in Azure AI Search

articles/search/search-howto-move-across-regions.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ ms.topic: how-to
1111
ms.custom:
1212
- subject-moving-resources
1313
- ignite-2023
14-
ms.date: 12/10/2024
14+
ms.date: 05/29/2025
1515
---
1616

1717
# Move your Azure AI Search service to another Azure region

articles/search/search-language-support.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,12 @@ ms.service: azure-ai-search
1010
ms.custom:
1111
- ignite-2023
1212
ms.topic: how-to
13-
ms.date: 12/10/2024
13+
ms.date: 05/29/2025
1414
---
1515

1616
# Create an index for multiple languages in Azure AI Search
1717

18-
If you have strings in multiple languages, you can attach [language analyzers](index-add-language-analyzers.md#supported-language-analyzers) that analyze strings using linguistic rules of a specific language during indexing and query execution. With a language analyzer, you get better handling of diacritics, character variants, punctuation, and word root forms.
18+
If you have strings in multiple languages, you can use [vector search](vector-search-overview.md) to represent multilingual content mathematically, which is the more modern approach. Alternatively, if you aren't using vectors, you can attach [language analyzers](index-add-language-analyzers.md#supported-language-analyzers) that analyze strings using linguistic rules of a specific language during indexing and query execution. With a language analyzer, you get better handling of diacritics, character variants, punctuation, and word root forms.
1919

2020
Azure AI Search supports Microsoft and Lucene analyzers. By default, the search engine uses Standard Lucene, which is language agnostic. If testing indicates that the default analyzer is insufficient, replace it with a language analyzer.
2121

articles/search/search-monitor-logs-powerbi.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,15 +9,15 @@ ms.service: azure-ai-search
99
ms.custom:
1010
- ignite-2023
1111
ms.topic: conceptual
12-
ms.date: 12/10/2024
12+
ms.date: 05/29/2025
1313
---
1414

1515
# Visualize Azure AI Search Logs and Metrics with Power BI
1616

1717
Azure AI Search can send operation logs and service metrics to an Azure Storage account, which can then be visualized in Power BI. This article explains the steps and how to use a Power BI template app to visualize the data. The template covers information about queries, indexing, operations, and service metrics.
1818

1919
> [!NOTE]
20-
> The Power BI template is currently using the previous product name, Azure Cognitive Search. The name change will be updated on the next template refresh.
20+
> The Power BI template currently uses a former product name, Azure Cognitive Search. The product name will be updated on the next template refresh.
2121
2222
## Set up logging and install the template
2323

articles/search/search-query-troubleshoot-collection-filters.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ ms.author: beloh
88
ms.service: azure-ai-search
99
ms.custom:
1010
- ignite-2023
11-
ms.topic: conceptual
12-
ms.date: 12/10/2024
11+
ms.topic: reference
12+
ms.date: 05/29/2025
1313
---
1414
# Troubleshooting OData collection filters in Azure AI Search
1515

articles/search/semantic-code-migration.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ ms.service: azure-ai-search
99
ms.custom:
1010
- ignite-2023
1111
ms.topic: how-to
12-
ms.date: 12/10/2024
12+
ms.date: 05/29/2025
1313
---
1414

1515
# Migrate semantic ranking code from previous versions
@@ -42,6 +42,8 @@ Check your code for the REST API version or SDK package version to confirm which
4242
| stable | [2024-07-01](/rest/api/searchservice/indexes/create-or-update?view=rest-searchservice-2024-07-01&preserve-view=true) | No change |
4343
| preview | [2024-09-01-preview](/rest/api/searchservice/operation-groups?view=rest-searchservice-2024-09-01-preview&preserve-view=true) | No change |
4444
| preview | [2024-11-01-preview](/rest/api/searchservice/operation-groups?view=rest-searchservice-2024-11-01-preview&preserve-view=true) | Adds query rewrite. The `queryLanguage` property is now required if you use [query rewrite (preview)](semantic-how-to-query-rewrite.md). |
45+
| preview | [2025-03-01-preview](/rest/api/searchservice/operation-groups?view=rest-searchservice-2025-03-01-preview&preserve-view=true) | Adds opt-in to prerelease versions of semantic models. |
46+
| preview | [2025-05-01-preview](/rest/api/searchservice/operation-groups?view=rest-searchservice-2025-05-01-preview&preserve-view=true) | No API updates in this preview, but semantic ranking now has [better integration with scoring profiles](semantic-how-to-enable-scoring-profiles.md). |
4547

4648
## Change logs for Azure SDKs
4749

0 commit comments

Comments
 (0)