You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/search/search-api-migration.md
+19-19Lines changed: 19 additions & 19 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -12,7 +12,7 @@ ms.custom:
12
12
- build-2024
13
13
- ignite-2024
14
14
ms.topic: conceptual
15
-
ms.date: 05/15/2025
15
+
ms.date: 07/31/2025
16
16
---
17
17
18
18
# Upgrade to the latest REST API in Azure AI Search
@@ -25,7 +25,7 @@ Here are the most recent versions of the REST APIs:
25
25
|---------------------|----------|--------|
26
26
| Data plane |[`2024-07-01`](/rest/api/searchservice/search-service-api-versions#2024-07-01)| Stable |
27
27
| 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 |
29
29
| Control plane |[`2025-02-01-preview`](/rest/api/searchmanagement/operation-groups?view=rest-searchmanagement-2025-02-01-preview&preserve-view=true)| Preview |
30
30
31
31
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
41
41
42
42
Azure AI Search breaks backward compatibility as a last resort. Upgrade is necessary when:
43
43
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.
45
45
46
46
+ 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.
47
47
@@ -51,7 +51,7 @@ Azure AI Search breaks backward compatibility as a last resort. Upgrade is neces
51
51
52
52
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.
53
53
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.
55
55
56
56
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).
57
57
@@ -65,17 +65,17 @@ The following breaking changes apply to data operations.
65
65
66
66
### Breaking changes for client code that reads connection information
67
67
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):
69
69
70
70
+[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.
71
71
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).
73
73
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.
75
75
76
76
### Breaking changes for semantic ranker
77
77
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:
79
79
80
80
+ In all versions after `2020-06-01-preview`: `semanticConfiguration` replaces `searchFields` as the mechanism for specifying which fields to use for L2 ranking.
81
81
@@ -124,7 +124,7 @@ There are breaking changes if you upgrade directly from `2023-11-01`. Follow the
124
124
125
125
### Upgrade to 2024-05-01-preview
126
126
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.
128
128
129
129
If you're upgrading from `2024-03-01-preview`, the AzureOpenAIEmbedding skill now requires a model name and dimensions property.
130
130
@@ -134,7 +134,7 @@ If you're upgrading from `2024-03-01-preview`, the AzureOpenAIEmbedding skill no
134
134
135
135
### Upgrade to 2024-03-01-preview
136
136
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.
138
138
139
139
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).
140
140
@@ -154,7 +154,7 @@ To use the new stable release, change the API version and test your code.
154
154
155
155
[`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.
156
156
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.
158
158
159
159
### Upgrade from 2023-07-01-preview
160
160
@@ -164,7 +164,7 @@ Don't use this API version. It implements a vector query syntax that's incompati
164
164
165
165
#### Portal upgrade for vector indexes
166
166
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.
168
168
169
169
+ Migration path is from `2023-07-01-preview` to `2024-05-01-preview`.
170
170
+ 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
176
176
177
177
#### Code upgrade for vector indexes and queries
178
178
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).
180
180
181
181
Upgrading from `2023-07-01-preview` to any newer stable or preview version requires:
182
182
@@ -281,14 +281,14 @@ Use the instructions in this section to migrate vector fields, configuration, an
281
281
}
282
282
```
283
283
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.
285
285
286
286
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.
287
287
288
288
+ Rename `vectors` to `vectorQueries`.
289
289
+ For each vector query, add `kind`, setting it to `vector`.
290
290
+ 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.
292
292
293
293
**Before (2023-07-01-preview)**:
294
294
@@ -342,7 +342,7 @@ These steps complete the migration to `2023-11-01` stable API version or newer p
342
342
343
343
In this version, there's one breaking change and several behavioral differences. Generally available features include:
344
344
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.
346
346
347
347
#### Breaking change
348
348
@@ -352,7 +352,7 @@ Code written against earlier API versions breaks on `2020-06-30` and later if co
352
352
353
353
#### Behavior changes
354
354
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.
356
356
357
357
+ 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.
358
358
@@ -443,12 +443,12 @@ You can update flat indexes to the new format with the following steps using API
443
443
444
444
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).
445
445
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`).
447
447
448
448
1. Reframe the request from `GET` to `POST`:
449
449
450
450
```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
|[**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). |
73
71
|[**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. |
Copy file name to clipboardExpand all lines: articles/search/search-api-versions.md
+7-7Lines changed: 7 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -14,7 +14,7 @@ ms.custom:
14
14
- devx-track-python
15
15
- ignite-2023
16
16
ms.topic: conceptual
17
-
ms.date: 02/18/2025
17
+
ms.date: 07/31/2025
18
18
---
19
19
20
20
# API versions in Azure AI Search
@@ -23,7 +23,7 @@ Azure AI Search rolls out feature updates regularly. Sometimes, but not always,
23
23
24
24
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.
25
25
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).
27
27
28
28
## Deprecated versions
29
29
@@ -42,20 +42,20 @@ Some API versions are discontinued and are no longer documented or supported:
42
42
+**2014-07-31-Preview**
43
43
+**2014-10-20-Preview**
44
44
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.
46
46
47
47
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.
48
48
49
49
## REST APIs
50
50
51
51
| REST API | Link |
52
52
|----------|------|
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.|
55
55
56
56
## Azure SDK for .NET
57
57
58
-
The following table provides links to more recent SDK versions.
58
+
The following table provides links to more recent SDK versions.
59
59
60
60
| SDK version | Status | Change log | Description |
@@ -85,4 +85,4 @@ The following table provides links to more recent SDK versions.
85
85
86
86
## All Azure SDKs
87
87
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