Skip to content

Commit a8ad1c9

Browse files
Merge pull request #6332 from haileytap/2025-05-01
[Azure Search] Document 2025-05-01 control plane REST API version
2 parents f326d3a + 59b80a0 commit a8ad1c9

30 files changed

+249
-266
lines changed
-4.27 KB
Loading
107 KB
Loading

articles/search/search-api-migration.md

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ ms.custom:
1212
- build-2024
1313
- ignite-2024
1414
ms.topic: conceptual
15-
ms.date: 05/15/2025
15+
ms.date: 07/31/2025
1616
---
1717

1818
# Upgrade to the latest REST API in Azure AI Search
@@ -25,7 +25,7 @@ Here are the most recent versions of the REST APIs:
2525
|---------------------|----------|--------|
2626
| Data plane | [`2024-07-01`](/rest/api/searchservice/search-service-api-versions#2024-07-01) | Stable |
2727
| Data plane | [`2025-05-01-preview`](/rest/api/searchservice/search-service-api-versions#2025-05-01-preview&preserve-view=true) | Preview |
28-
| Control plane | [`2023-11-01`](/rest/api/searchmanagement/operation-groups?view=rest-searchmanagement-2023-11-0&preserve-view=true1) | Stable |
28+
| Control plane | [`2025-05-01`](/rest/api/searchmanagement/operation-groups?view=rest-searchmanagement-2025-05-01&preserve-view=true) | Stable |
2929
| Control plane | [`2025-02-01-preview`](/rest/api/searchmanagement/operation-groups?view=rest-searchmanagement-2025-02-01-preview&preserve-view=true) | Preview |
3030

3131
Upgrade instructions focus on code changes that get you through breaking changes from previous versions so that existing code runs the same as before, but on the newer API version. Once your code is in working order, you can decide whether to adopt newer features. To learn more about new features, see [vector code samples](https://github.com/Azure/azure-search-vector-samples) and [What's New](whats-new.md).
@@ -41,7 +41,7 @@ We recommend upgrading API versions in succession, working through each version
4141

4242
Azure AI Search breaks backward compatibility as a last resort. Upgrade is necessary when:
4343

44-
+ Your code references a retired or unsupported API version and is subject to one or more breaking changes. You must address breaking changes if your code targets [`2023-07-10-preview`](#code-upgrade-for-vector-indexes-and-queries) for vectors, [`2020-06-01-preview`](#breaking-changes-for-semantic-ranker) for semantic ranker, and [`2019-05-06`](#upgrade-to-2019-05-06) for obsolete skills and workarounds.
44+
+ Your code references a retired or unsupported API version and is subject to one or more breaking changes. You must address breaking changes if your code targets [`2023-07-10-preview`](#code-upgrade-for-vector-indexes-and-queries) for vectors, [`2020-06-01-preview`](#breaking-changes-for-semantic-ranker) for semantic ranker, and [`2019-05-06`](#upgrade-to-2019-05-06) for obsolete skills and workarounds.
4545

4646
+ Your code fails when unrecognized properties are returned in an API response. As a best practice, your application should ignore properties that it doesn't understand.
4747

@@ -51,7 +51,7 @@ Azure AI Search breaks backward compatibility as a last resort. Upgrade is neces
5151

5252
1. If you're upgrading a data plane version, review the [release notes](/rest/api/searchservice/search-service-api-versions) for the new API version.
5353

54-
1. Update the `api-version` parameter, specified in the request header, to a newer version.
54+
1. Update the `api-version` parameter, specified in the request header, to a newer version.
5555

5656
In your application code that makes direct calls to the REST APIs, search for all instances of the existing version and then replace it with the new version. For more information about structuring a REST call, see [Quickstart: Full-text search using REST](search-get-started-text.md).
5757

@@ -65,17 +65,17 @@ The following breaking changes apply to data operations.
6565

6666
### Breaking changes for client code that reads connection information
6767

68-
Effective March 29, 2024 and applicable to all [supported REST APIs](/rest/api/searchservice/search-service-api-versions):
68+
Effective March 29, 2024 and applicable to all [supported REST APIs](/rest/api/searchservice/search-service-api-versions):
6969

7070
+ [GET Skillset](/rest/api/searchservice/skillsets/get), [GET Index](/rest/api/searchservice/indexes/get), and [GET Indexer](/rest/api/searchservice/indexers/get) no longer return keys or connection properties in a response. This is a breaking change if you have downstream code that reads keys or connections (sensitive data) from a GET response.
7171

72-
+ If you need to retrieve admin or query API keys for your search service, use the [Management REST APIs](search-security-api-keys.md?tabs=rest-find#find-existing-keys).
72+
+ If you need to retrieve admin or query API keys for your search service, use the [Search Management REST APIs](search-security-api-keys.md?tabs=rest-find#find-existing-keys).
7373

74-
+ If you need to retrieve connection strings of another Azure resource such as Azure Storage or Azure Cosmos DB, use the APIs of that resource and published guidance to obtain the information.
74+
+ If you need to retrieve connection strings of another Azure resource such as Azure Storage or Azure Cosmos DB, use the APIs of that resource and published guidance to obtain the information.
7575

7676
### Breaking changes for semantic ranker
7777

78-
[Semantic ranker](semantic-search-overview.md) is generally available in `2023-11-01`. There are the breaking changes from earlier releases:
78+
[Semantic ranker](semantic-search-overview.md) became generally available in `2023-11-01`. These are the breaking changes from earlier releases:
7979

8080
+ In all versions after `2020-06-01-preview`: `semanticConfiguration` replaces `searchFields` as the mechanism for specifying which fields to use for L2 ranking.
8181

@@ -124,7 +124,7 @@ There are breaking changes if you upgrade directly from `2023-11-01`. Follow the
124124

125125
### Upgrade to 2024-05-01-preview
126126

127-
[`2024-05-01-preview`](/rest/api/searchservice/search-service-api-versions#2024-05-01-preview) adds OneLake index, support for binary vectors, and support for more embedding models.
127+
[`2024-05-01-preview`](/rest/api/searchservice/search-service-api-versions#2024-05-01-preview) adds OneLake index, support for binary vectors, and support for more embedding models.
128128

129129
If you're upgrading from `2024-03-01-preview`, the AzureOpenAIEmbedding skill now requires a model name and dimensions property.
130130

@@ -134,7 +134,7 @@ If you're upgrading from `2024-03-01-preview`, the AzureOpenAIEmbedding skill no
134134

135135
### Upgrade to 2024-03-01-preview
136136

137-
[`2024-03-01-preview`](/rest/api/searchservice/search-service-api-versions#2024-03-01-preview) adds narrow data types, scalar quantization, and vector storage options.
137+
[`2024-03-01-preview`](/rest/api/searchservice/search-service-api-versions#2024-03-01-preview) adds narrow data types, scalar quantization, and vector storage options.
138138

139139
If you're upgrading from `2023-10-01-preview`, there are no breaking changes. However, there's one behavior difference: for `2023-11-01` and newer previews, the `vectorFilterMode` default changed from postfilter to prefilter for [filter expressions](vector-search-filters.md).
140140

@@ -154,7 +154,7 @@ To use the new stable release, change the API version and test your code.
154154

155155
[`2023-10-01-preview`](/rest/api/searchservice/search-service-api-versions#2023-10-01-preview) was the first preview version to add [built-in data chunking and vectorization during indexing](vector-search-integrated-vectorization.md) and [built-in query vectorization](vector-search-how-to-configure-vectorizer.md). It also supports vector indexing and queries from the previous version.
156156

157-
If you're upgrading from the previous version, the next section has the steps.
157+
If you're upgrading from the previous version, the next section has the steps.
158158

159159
### Upgrade from 2023-07-01-preview
160160

@@ -164,7 +164,7 @@ Don't use this API version. It implements a vector query syntax that's incompati
164164

165165
#### Portal upgrade for vector indexes
166166

167-
Azure portal supports a one-click upgrade path for `2023-07-01-preview` indexes. It detects vector fields and provides a **Migrate** button.
167+
Azure portal supports a one-click upgrade path for `2023-07-01-preview` indexes. It detects vector fields and provides a **Migrate** button.
168168

169169
+ Migration path is from `2023-07-01-preview` to `2024-05-01-preview`.
170170
+ Updates are limited to vector field definitions and vector search algorithm configurations.
@@ -176,7 +176,7 @@ Before selecting **Migrate**, select **Edit JSON** to review the updated schema
176176

177177
#### Code upgrade for vector indexes and queries
178178

179-
[Vector search](vector-search-overview.md) support was introduced in [Create or Update Index (2023-07-01-preview)](/rest/api/searchservice/preview-api/create-or-update-index).
179+
[Vector search](vector-search-overview.md) support was introduced in [Create or Update Index (2023-07-01-preview)](/rest/api/searchservice/preview-api/create-or-update-index).
180180

181181
Upgrading from `2023-07-01-preview` to any newer stable or preview version requires:
182182

@@ -281,14 +281,14 @@ Use the instructions in this section to migrate vector fields, configuration, an
281281
}
282282
```
283283
284-
1. Call [Create or Update Index](/rest/api/searchservice/indexes/create-or-update?view=rest-searchservice-2023-11-01&tabs=HTTP&preserve-view=true) to post the changes.
284+
1. Call [Create or Update Index](/rest/api/searchservice/indexes/create-or-update?view=rest-searchservice-2023-11-01&tabs=HTTP&preserve-view=true) to post the changes.
285285
286286
1. Modify [Search POST](/rest/api/searchservice/documents/search-post?view=rest-searchservice-2023-11-01&tabs=HTTP&preserve-view=true) to change the query syntax. This API change enables support for polymorphic vector query types.
287287
288288
+ Rename `vectors` to `vectorQueries`.
289289
+ For each vector query, add `kind`, setting it to `vector`.
290290
+ For each vector query, rename `value` to `vector`.
291-
+ Optionally, add `vectorFilterMode` if you're using [filter expressions](vector-search-filters.md). The default is prefilter for indexes created after `2023-10-01`. Indexes created before that date only support postfilter, regardless of how you set the filter mode.
291+
+ Optionally, add `vectorFilterMode` if you're using [filter expressions](vector-search-filters.md). The default is prefilter for indexes created after `2023-10-01`. Indexes created before that date only support postfilter, regardless of how you set the filter mode.
292292
293293
**Before (2023-07-01-preview)**:
294294
@@ -342,7 +342,7 @@ These steps complete the migration to `2023-11-01` stable API version or newer p
342342
343343
In this version, there's one breaking change and several behavioral differences. Generally available features include:
344344
345-
+ [Knowledge store](knowledge-store-concept-intro.md), persistent storage of enriched content created through skillsets, created for downstream analysis and processing through other applications. A knowledge store is created through Azure AI Search REST APIs but it resides in Azure Storage.
345+
+ [Knowledge store](knowledge-store-concept-intro.md), persistent storage of enriched content created through skillsets, created for downstream analysis and processing through other applications. A knowledge store is created through Azure AI Search REST APIs but it resides in Azure Storage.
346346
347347
#### Breaking change
348348
@@ -352,7 +352,7 @@ Code written against earlier API versions breaks on `2020-06-30` and later if co
352352
353353
#### Behavior changes
354354
355-
+ [BM25 ranking algorithm](index-ranking-similarity.md) replaces the previous ranking algorithm with newer technology. Services created after 2019 use this algorithm automatically. For older services, you must set parameters to use the new algorithm.
355+
+ [BM25 ranking algorithm](index-ranking-similarity.md) replaces the previous ranking algorithm with newer technology. Services created after 2019 use this algorithm automatically. For older services, you must set parameters to use the new algorithm.
356356
357357
+ Ordered results for null values have changed in this version, with null values appearing first if the sort is `asc` and last if the sort is `desc`. If you wrote code to handle how null values are sorted, be aware of this change.
358358
@@ -443,12 +443,12 @@ You can update flat indexes to the new format with the following steps using API
443443

444444
The `listQueryKeys` GET request on older Search Management API versions is now deprecated. We recommend migrating to the most recent stable control plane API version to use the [`listQueryKeys` POST request](/rest/api/searchmanagement/query-keys/list-by-search-service).
445445

446-
1. In existing code, change the `api-version` parameter to the most recent version (`2023-11-01`).
446+
1. In existing code, change the `api-version` parameter to the most recent version (`2025-05-01`).
447447

448448
1. Reframe the request from `GET` to `POST`:
449449

450450
```http
451-
POST https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Search/searchServices/{searchServiceName}/listQueryKeys?api-version=2023-11-01
451+
POST https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Search/searchServices/{searchServiceName}/listQueryKeys?api-version=2025-05-01
452452
Authorization: Bearer {{token}}
453453
```
454454

articles/search/search-api-preview.md

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ ms.custom:
1111
- build-2024
1212
- ignite-2024
1313
ms.topic: conceptual
14-
ms.date: 05/15/2025
14+
ms.date: 07/31/2025
1515
---
1616

1717
# Preview features in Azure AI Search
@@ -68,10 +68,7 @@ Preview features are removed from this list if they're retired or transition to
6868

6969
|Feature                         | Category | Description | Availability |
7070
|---------|------------------|-------------|---------------|
71-
| [**Service upgrade**](search-how-to-upgrade.md) | Feature | Upgrade your search service to higher storage limits in your region. With a one-time upgrade, you no longer need to recreate your service. | The Azure portal and [Upgrade Service (2025-02-01-preview)](/rest/api/searchmanagement/services/upgrade?view=rest-searchmanagement-2025-02-01-preview&preserve-view=true). |
72-
| [**Pricing tier change**](search-capacity-planning.md#change-your-pricing-tier) | Feature | Change the [pricing tier](search-sku-tier.md) of your search service. This provides flexibility to scale storage, increase request throughput, and decrease latency based on your needs. In this preview, you can only change between Basic and Standard (S1, S2, and S3) tiers. | The Azure portal and [Update Service (2025-02-01-preview)](/rest/api/searchmanagement/services/update?view=rest-searchmanagement-2025-02-01-preview&preserve-view=true#searchupdateservicewithsku). |
7371
| [**Network security perimeter**](search-security-network-security-perimeter.md) | Service | Join a search service to a [network security perimeter](/azure/private-link/network-security-perimeter-concepts) to control network access to your search service. | The Azure portal and the [Network Security Perimeter APIs 2024-06-01-preview](/rest/api/searchmanagement/network-security-perimeter-configurations?view=rest-searchmanagement-2024-06-01-preview&preserve-view=true) or the latest preview version. |
74-
| [**Search service under a user-assigned managed identity**](search-howto-managed-identities-data-sources.md) | Service | Configures a search service to use a previously created user-assigned managed identity. | [Services - Update](/rest/api/searchmanagement/services/update?view=rest-searchmanagement-2024-06-01-preview&preserve-view=true#identity), 2021-04-01-preview, or the latest preview version. We recommend using the latest preview version. |
7572

7673
## Preview features in Azure SDKs
7774

articles/search/search-api-versions.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ ms.custom:
1414
- devx-track-python
1515
- ignite-2023
1616
ms.topic: conceptual
17-
ms.date: 02/18/2025
17+
ms.date: 07/31/2025
1818
---
1919

2020
# API versions in Azure AI Search
@@ -23,7 +23,7 @@ Azure AI Search rolls out feature updates regularly. Sometimes, but not always,
2323

2424
As a rule, the REST APIs and libraries are versioned only when necessary, since it can involve some effort to upgrade your code to use a new API version. A new version is needed only if some aspect of the API has changed in a way that breaks backward compatibility. Such changes can happen because of fixes to existing features, or because of new features that change existing API surface area.
2525

26-
See [Azure SDK lifecycle and support policy](https://azure.github.io/azure-sdk/policies_support.html) for more information about the deprecation path.
26+
For more information about the deprecation path, see the [Azure SDK lifecycle and support policy](https://azure.github.io/azure-sdk/policies_support.html).
2727

2828
## Deprecated versions
2929

@@ -42,20 +42,20 @@ Some API versions are discontinued and are no longer documented or supported:
4242
+ **2014-07-31-Preview**
4343
+ **2014-10-20-Preview**
4444

45-
All SDKs are based on REST API versions. If a REST version is discontinued, SDK packages based on that version are also discontinued. All Azure AI Search .NET SDKs older than [**3.0.0-rc**](https://www.nuget.org/packages/Microsoft.Azure.Search/3.0.0-rc) are now obsolete.
45+
All SDKs are based on REST API versions. If a REST version is discontinued, SDK packages based on that version are also discontinued. All Azure AI Search .NET SDKs older than [**3.0.0-rc**](https://www.nuget.org/packages/Microsoft.Azure.Search/3.0.0-rc) are now obsolete.
4646

4747
Support for the above-listed versions ended on October 15, 2020. If you have code that uses a discontinued version, you can [migrate existing code](search-api-migration.md) to a newer [REST API version](/rest/api/searchservice/) or to a newer Azure SDK.
4848

4949
## REST APIs
5050

5151
| REST API | Link |
5252
|----------|------|
53-
| Search Service (data plane) | See [API versions](/rest/api/searchservice/search-service-api-versions) in REST API reference |
54-
| Management (control plane) | See [API versions](/rest/api/searchmanagement/management-api-versions) in REST API reference |
53+
| Search Service (data plane) | See [API versions](/rest/api/searchservice/search-service-api-versions) in the REST API reference. |
54+
| Search Management (control plane) | See [API versions](/rest/api/searchmanagement/management-api-versions) in the REST API reference. |
5555

5656
## Azure SDK for .NET
5757

58-
The following table provides links to more recent SDK versions.
58+
The following table provides links to more recent SDK versions.
5959

6060
| SDK version | Status | Change log | Description |
6161
|-------------|--------|------------ |-----------------|
@@ -85,4 +85,4 @@ The following table provides links to more recent SDK versions.
8585

8686
## All Azure SDKs
8787

88-
If you're looking for beta client libraries and documentation, [this page](https://azure.github.io/azure-sdk/releases/latest/index.html) contains links to all of the Azure SDK library packages, code, and docs.
88+
If you're looking for beta client libraries and documentation, [this page](https://azure.github.io/azure-sdk/releases/latest/index.html) contains links to all of the Azure SDK library packages, code, and docs.

0 commit comments

Comments
 (0)