API versions in Azure AI Search
Azure AI Search rolls out feature updates regularly. Sometimes, but not always, these updates require a new version of the API to preserve backward compatibility. Publishing a new version allows you to control when and how you integrate search service updates in your code.
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.
See Azure SDK lifecycle and support policy for more information about the deprecation path.
Deprecated versions
2023-07-01-preview was deprecated on April 8, 2024 and won't be supported after July 8, 2024.
This was the first REST API that offered vector search support. Newer API versions have a different vector configuration. You should migrate to a newer version as soon as possible.
Discontinued versions
Some API versions are discontinued and are rejected by a search service:
- 2015-02-28
- 2015-02-28-Preview
- 2014-07-31-Preview
- 2014-10-20-Preview
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 are now obsolete.
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 to a newer REST API version or to a newer Azure SDK.
REST APIs
REST API | Link |
---|---|
Search Service (data plane) | See API versions in REST API reference |
Management (control plane) | See API versions in REST API reference |
Azure SDK for .NET
The following table provides links to more recent SDK versions.
SDK version | Status | Change log | Description |
---|---|---|---|
Azure.Search.Documents 11 | Active | Change Log | APIs for data plane operations on a service, such as read-write operations on content and objects. |
Azure.ResourceManager.Search | Active | Change Log | APIs for control plane operations on the search service. |
Azure SDK for Java
SDK version | Status | Change log | Description |
---|---|---|---|
azure-search-documents 11 | Active | Change Log Use the azure-search-documents client library for data plane operations. |
|
azure-resourcemanager-search 2 | Active | Change Log | Use the azure-resourcemanager-search client library for control plane operations. |
Azure SDK for JavaScript
SDK version | Status | Change log | Description |
---|---|---|---|
@azure/search-documents 12 | Active | Change Log | Use the @azure/search-documents client library for data plane operations. |
@azure/arm-search 4 | Active | Change Log | Use the @azure/arm-search package for control plane operations. |
Azure SDK for Python
SDK version | Status | Change log | Description |
---|---|---|---|
azure-search-documents 11 | Active | Change Log | Use the azure-search-documents client library for data plane operations. |
azure-mgmt-search 9 | Active | Change Log | Use the azure-mgmt-search client library for control plane operations. |
All Azure SDKs
If you're looking for beta client libraries and documentation, this page contains links to all of the Azure SDK library packages, code, and docs.