Skip to main content

Azure AI Search client library for Python

Azure AI Search (formerly known as "Azure Cognitive Search") is an AI-powered information retrieval platform that helps developers build rich search experiences and generative AI apps that combine large language models with enterprise data.

Azure AI Search is well suited for the following application scenarios:

  • Consolidate varied content types into a single searchable index. To populate an index, you can push JSON documents that contain your content, or if your data is already in Azure, create an indexer to pull in data automatically.
  • Attach skillsets to an indexer to create searchable content from images and unstructured documents. A skillset leverages APIs from Azure AI Services for built-in OCR, entity recognition, key phrase extraction, language detection, text translation, and sentiment analysis. You can also add custom skills to integrate external processing of your content during data ingestion.
  • In a search client application, implement query logic and user experiences similar to commercial web search engines and chat-style apps.

Use the Azure.Search.Documents client library to:

  • Submit queries using vector, keyword, and hybrid query forms.
  • Implement filtered queries for metadata, geospatial search, faceted navigation, or to narrow results based on filter criteria.
  • Create and manage search indexes.
  • Upload and update documents in the search index.
  • Create and manage indexers that pull data from Azure into an index.
  • Create and manage skillsets that add AI enrichment to data ingestion.
  • Create and manage analyzers for advanced text analysis or multi-lingual content.
  • Optimize results through semantic ranking and scoring profiles to factor in business logic or freshness.

Source code | Package (PyPI) | Package (Conda) | API reference documentation | Product documentation | Samples

Getting started

Install the package

Install the Azure AI Search client library for Python with pip:

pip install azure-search-documents

Prerequisites

To create a new search service, you can use the Azure portal, Azure PowerShell, or the Azure CLI.

az search service create --name <mysearch> --resource-group <mysearch-rg> --sku free --location westus

See choosing a pricing tier for more information about available options.

Authenticate the client

To interact with the search service, you'll need to create an instance of the appropriate client class: SearchClient for searching indexed documents, SearchIndexClient for managing indexes, or SearchIndexerClient for crawling data sources and loading search documents into an index. To instantiate a client object, you'll need an endpoint and Azure roles or an API key. You can refer to the documentation for more information on supported authenticating approaches with the search service.

Get an API Key

An API key can be an easier approach to start with because it doesn't require pre-existing role assignments.

You can get the endpoint and an API key from the Search service in the Azure portal. Please refer the documentation for instructions on how to get an API key.

Alternatively, you can use the following Azure CLI command to retrieve the API key from the Search service:

az search admin-key show --service-name <mysearch> --resource-group <mysearch-rg>

There are two types of keys used to access your search service: admin (read-write) and query (read-only) keys. Restricting access and operations in client apps is essential to safeguarding the search assets on your service. Always use a query key rather than an admin key for any query originating from a client app.

Note: The example Azure CLI snippet above retrieves an admin key so it's easier to get started exploring APIs, but it should be managed carefully.

Create a SearchClient

To instantiate the SearchClient, you'll need the endpoint, API key and index name:

from azure.core.credentials import AzureKeyCredential
from azure.search.documents import SearchClient

service_endpoint = os.environ["AZURE_SEARCH_SERVICE_ENDPOINT"]
index_name = os.environ["AZURE_SEARCH_INDEX_NAME"]
key = os.environ["AZURE_SEARCH_API_KEY"]

search_client = SearchClient(service_endpoint, index_name, AzureKeyCredential(key))

Create a client using Microsoft Entra ID authentication

You can also create a SearchClient, SearchIndexClient, or SearchIndexerClient using Microsoft Entra ID authentication. Your user or service principal must be assigned the "Search Index Data Reader" role. Using the DefaultAzureCredential you can authenticate a service using Managed Identity or a service principal, authenticate as a developer working on an application, and more all without changing code. Please refer the documentation for instructions on how to connect to Azure AI Search using Azure role-based access control (Azure RBAC).

Before you can use the DefaultAzureCredential, or any credential type from Azure.Identity, you'll first need to install the Azure.Identity package.

To use DefaultAzureCredential with a client ID and secret, you'll need to set the AZURE_TENANT_ID, AZURE_CLIENT_ID, and AZURE_CLIENT_SECRET environment variables; alternatively, you can pass those values to the ClientSecretCredential also in Azure.Identity.

Make sure you use the right namespace for DefaultAzureCredential at the top of your source file:

from azure.identity import DefaultAzureCredential
from azure.search.documents import SearchClient

service_endpoint = os.getenv("AZURE_SEARCH_SERVICE_ENDPOINT")
index_name = os.getenv("AZURE_SEARCH_INDEX_NAME")
credential = DefaultAzureCredential()

search_client = SearchClient(service_endpoint, index_name, credential)

Key concepts

An Azure AI Search service contains one or more indexes that provide persistent storage of searchable data in the form of JSON documents. (If you're brand new to search, you can make a very rough analogy between indexes and database tables.) The Azure.Search.Documents client library exposes operations on these resources through three main client types.

Azure AI Search provides two powerful features: semantic ranking and vector search.

Semantic ranking enhances the quality of search results for text-based queries. By enabling semantic ranking on your search service, you can improve the relevance of search results in two ways:

  • It applies secondary ranking to the initial result set, promoting the most semantically relevant results to the top.
  • It extracts and returns captions and answers in the response, which can be displayed on a search page to enhance the user's search experience.

To learn more about semantic ranking, you can refer to the documentation.

Vector search is an information retrieval technique that uses numeric representations of searchable documents and query strings. By searching for numeric representations of content that are most similar to the numeric query, vector search can find relevant matches, even if the exact terms of the query are not present in the index. Moreover, vector search can be applied to various types of content, including images and videos and translated text, not just same-language text.

To learn how to index vector fields and perform vector search, you can refer to the sample. This sample provides detailed guidance on indexing vector fields and demonstrates how to perform vector search.

Additionally, for more comprehensive information about vector search, including its concepts and usage, you can refer to the documentation. The documentation provides in-depth explanations and guidance on leveraging the power of vector search in Azure AI Search.

_The Azure.Search.Documents client library (v1) provides APIs for data plane operations. The previous Microsoft.Azure.Search client library (v10) is now retired. It has many similar looking APIs, so please be careful to avoid confusion when exploring online resources. A good rule of thumb is to check for the namespace Azure.Search.Documents; when you're looking for API reference.

Examples

The following examples all use a simple Hotel data set that you can import into your own index from the Azure portal. These are just a few of the basics - please check out our Samples for much more.

Querying

Let's start by importing our namespaces.

import os
from azure.core.credentials import AzureKeyCredential
from azure.search.documents import SearchClient

We'll then create a SearchClient to access our hotels search index.

index_name = "hotels"
# Get the service endpoint and API key from the environment
endpoint = os.environ["SEARCH_ENDPOINT"]
key = os.environ["SEARCH_API_KEY"]

# Create a client
credential = AzureKeyCredential(key)
client = SearchClient(endpoint=endpoint,
                      index_name=index_name,
                      credential=credential)

Let's search for a "luxury" hotel.

results = client.search(search_text="luxury")

for result in results:
    print("{}: {})".format(result["hotelId"], result["hotelName"]))

Creating an index

You can use the SearchIndexClient to create a search index. Fields can be defined using convenient SimpleField, SearchableField, or ComplexField models. Indexes can also define suggesters, lexical analyzers, and more.

from azure.core.credentials import AzureKeyCredential
from azure.search.documents.indexes import SearchIndexClient
from azure.search.documents.indexes.models import (
    ComplexField,
    CorsOptions,
    SearchIndex,
    ScoringProfile,
    SearchFieldDataType,
    SimpleField,
    SearchableField,
)

index_client = SearchIndexClient(service_endpoint, AzureKeyCredential(key))
fields = [
    SimpleField(name="HotelId", type=SearchFieldDataType.STRING, key=True),
    SimpleField(name="HotelName", type=SearchFieldDataType.STRING, searchable=True),
    SimpleField(name="BaseRate", type=SearchFieldDataType.DOUBLE),
    SearchableField(name="Description", type=SearchFieldDataType.STRING, collection=True),
    ComplexField(
        name="Address",
        fields=[
            SimpleField(name="StreetAddress", type=SearchFieldDataType.STRING),
            SimpleField(name="City", type=SearchFieldDataType.STRING),
        ],
        collection=True,
    ),
]
cors_options = CorsOptions(allowed_origins=["*"], max_age_in_seconds=60)
scoring_profiles: List[ScoringProfile] = []
index = SearchIndex(
    name=index_name,
    fields=fields,
    scoring_profiles=scoring_profiles,
    cors_options=cors_options,
)

result = index_client.create_index(index)
print(f"Created: index '{result.name}'")

Adding documents to your index

You can Upload, Merge, MergeOrUpload, and Delete multiple documents from an index in a single batched request. There are a few special rules for merging to be aware of.

from azure.core.credentials import AzureKeyCredential
from azure.search.documents import SearchClient

search_client = SearchClient(service_endpoint, index_name, AzureKeyCredential(key))

document = {
    "HotelId": "100",
    "HotelName": "Azure Sanctuary",
    "Description": "A quiet retreat offering understated elegance and premium amenities.",
    "Description_fr": "Meilleur hôtel en ville si vous aimez les hôtels de luxe.",
    "Category": "Luxury",
    "Tags": [
        "pool",
        "view",
        "wifi",
        "concierge",
        "private beach",
        "gourmet dining",
        "spa",
    ],
    "ParkingIncluded": False,
    "LastRenovationDate": "2024-01-15T00:00:00+00:00",
    "Rating": 5,
    "Location": {"type": "Point", "coordinates": [-122.131577, 47.678581]},
}

result = search_client.upload_documents(documents=[document])

print(f"Uploaded: document 100 (succeeded={result[0].succeeded})")

Authenticate in a National Cloud

To authenticate in a National Cloud, you will need to make the following additions to your client configuration:

  • Set the AuthorityHost in the credential options or via the AZURE_AUTHORITY_HOST environment variable
  • Set the audience in SearchClient, SearchIndexClient, or SearchIndexerClient
# Create a SearchClient that will authenticate through AAD in the China national cloud.
import os
from azure.identity import DefaultAzureCredential, AzureAuthorityHosts
from azure.search.documents import SearchClient

index_name = "hotels"
endpoint = os.environ["SEARCH_ENDPOINT"]
key = os.environ["SEARCH_API_KEY"]
credential = DefaultAzureCredential(authority=AzureAuthorityHosts.AZURE_CHINA)

search_client = SearchClient(endpoint, index_name, credential=credential, audience="https://search.azure.cn")

Retrieving a specific document from your index

In addition to querying for documents using keywords and optional filters, you can retrieve a specific document from your index if you already know the key. You could get the key from a query, for example, and want to show more information about it or navigate your customer to that document.

from azure.core.credentials import AzureKeyCredential
from azure.search.documents import SearchClient

search_client = SearchClient(service_endpoint, index_name, AzureKeyCredential(key))

result = search_client.get_document(key="100")

print("Result:")
print(f"  HotelId: 100")
print(f"  HotelName: {result['HotelName']}")

Async APIs

This library includes a complete async API. To use it, you must first install an async transport, such as aiohttp. See azure-core documentation for more information.

from azure.core.credentials import AzureKeyCredential
from azure.search.documents.aio import SearchClient

search_client = SearchClient(service_endpoint, index_name, AzureKeyCredential(key))

async with search_client:
    results = await search_client.search(search_text="spa")

    print("Results: hotels with 'spa'")
    async for result in results:
        print(f"  HotelName: {result['HotelName']} (rating {result['Rating']})")

Troubleshooting

General

The Azure AI Search client will raise exceptions defined in Azure Core.

Logging

This library uses the standard logging library for logging. Basic information about HTTP sessions (URLs, headers, etc.) is logged at INFO level.

Detailed DEBUG level logging, including request/response bodies and unredacted headers, can be enabled on a client with the logging_enable keyword argument:

import sys
import logging
from azure.core.credentials import AzureKeyCredential
from azure.search.documents import SearchClient

# Create a logger for the 'azure' SDK
logger = logging.getLogger('azure')
logger.setLevel(logging.DEBUG)

# Configure a console output
handler = logging.StreamHandler(stream=sys.stdout)
logger.addHandler(handler)

# This client will log detailed information about its HTTP sessions, at DEBUG level
client = SearchClient("<service endpoint>", "<index_name>", AzureKeyCredential("<api key>"), logging_enable=True)

Similarly, logging_enable can enable detailed logging for a single operation, even when it isn't enabled for the client:

result =  client.search(search_text="spa", logging_enable=True)

Next steps

Contributing

See our Search CONTRIBUTING.md for details on building, testing, and contributing to this library.

This project welcomes contributions and suggestions. Most contributions require you to agree to a Contributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us the rights to use your contribution. For details, visit cla.microsoft.com.

This project has adopted the Microsoft Open Source Code of Conduct. For more information, see the Code of Conduct FAQ or contact opencode@microsoft.com with any additional questions or comments.

Related projects

Release History

12.0.0 (2026-04-01)

Features Added

  • Below clients, models, and enum members are added for knowledge base support

    • azure.search.documents.knowledgebases.KnowledgeBaseRetrievalClient
    • azure.search.documents.indexes.models.AzureBlobKnowledgeSource
    • azure.search.documents.indexes.models.IndexedOneLakeKnowledgeSource
    • azure.search.documents.indexes.models.KnowledgeBase
    • azure.search.documents.indexes.models.SearchIndexKnowledgeSource
    • azure.search.documents.indexes.models.WebKnowledgeSource
    • azure.search.documents.knowledgebases.models.KnowledgeBaseActivityRecordType.MODEL_WEB_SUMMARIZATION
    • azure.search.documents.knowledgebases.models.KnowledgeBaseModelWebSummarizationActivityRecord
    • azure.search.documents.knowledgebases.models.KnowledgeRetrievalMinimalReasoningEffort
    • azure.search.documents.knowledgebases.models.KnowledgeRetrievalReasoningEffort
    • azure.search.documents.knowledgebases.models.KnowledgeSourceStatistics
    • azure.search.documents.knowledgebases.models.KnowledgeSourceStatus
    • azure.search.documents.knowledgebases.models.KnowledgeSourceSynchronizationError
  • Below properties are added or changed for index and indexer enhancements

    • azure.search.documents.indexes.models.SearchIndexerDataSourceConnection.identity for managed identity support on data source connections.
    • azure.search.documents.indexes.models.SearchIndexerKnowledgeStore.identity for managed identity support on knowledge store projections.
    • azure.search.documents.indexes.models.SearchResourceEncryptionKey.key_version changed from required to optional, aligning with service behavior.
  • Below enum members and properties are added for Markdown parsing

    • azure.search.documents.indexes.models.BlobIndexerParsingMode.MARKDOWN enum value for native Markdown file parsing in blob indexers.
    • azure.search.documents.indexes.models.IndexingParametersConfiguration.markdown_header_depth (h1 through h6) to set header depth for sectioning.
    • azure.search.documents.indexes.models.IndexingParametersConfiguration.markdown_parsing_submode (oneToOne or oneToMany) to control document splitting.
  • Below models are added

    • azure.search.documents.indexes.models.ChatCompletionCommonModelParameters
    • azure.search.documents.indexes.models.ChatCompletionResponseFormat
    • azure.search.documents.indexes.models.ChatCompletionSchema
    • azure.search.documents.indexes.models.ChatCompletionSkill
    • azure.search.documents.indexes.models.ContentUnderstandingSkill
    • azure.search.documents.indexes.models.ContentUnderstandingSkillChunkingProperties
    • azure.search.documents.indexes.models.ContentUnderstandingSkillChunkingUnit
    • azure.search.documents.indexes.models.ContentUnderstandingSkillExtractionOptions
    • azure.search.documents.knowledgebases.models.AIServices
    • azure.search.documents.knowledgebases.models.CompletedSynchronizationState
    • azure.search.documents.knowledgebases.models.SynchronizationState

Breaking Changes

  • serialize() and deserialize() methods on models are removed. Use as_dict() to serialize and the model constructor to deserialize (e.g., index.as_dict() instead of index.serialize(), SearchIndex(data) instead of SearchIndex.deserialize(data)).
  • Below models do not exist in this release
    • azure.search.documents.indexes.models.EntityRecognitionSkill
    • azure.search.documents.indexes.models.EntityRecognitionSkillVersion
    • azure.search.documents.indexes.models.PathHierarchyTokenizer (renamed to PathHierarchyTokenizerV2)
    • azure.search.documents.indexes.models.SentimentSkill
    • azure.search.documents.indexes.models.SentimentSkillVersion
  • Below enum members do not exist in this release
    • azure.search.documents.indexes.models.SearchIndexerDataSourceType.MY_SQL (renamed to MYSQL)
    • azure.search.documents.indexes.models.SearchIndexerDataSourceType.ONE_LAKE (renamed to ONELAKE)
  • Below properties do not exist in this release
    • azure.search.documents.indexes.models.BinaryQuantizationCompression.rerank_with_original_vectors
    • azure.search.documents.indexes.models.ScalarQuantizationCompression.rerank_with_original_vectors
    • azure.search.documents.indexes.models.VectorSearchCompression.rerank_with_original_vectors

The following changes do not impact the API of stable versions such as 11.6.0. Only code written against a beta version such as 11.7.0b2 may be affected.

  • Below models do not exist in this release

    • azure.search.documents.indexes.models.AIServicesVisionParameters
    • azure.search.documents.indexes.models.AIServicesVisionVectorizer
    • azure.search.documents.indexes.models.AzureMachineLearningSkill
    • azure.search.documents.indexes.models.AzureOpenAITokenizerParameters
    • azure.search.documents.indexes.models.IndexedSharePointContainerName
    • azure.search.documents.indexes.models.IndexerCurrentState
    • azure.search.documents.indexes.models.IndexerExecutionStatusDetail
    • azure.search.documents.indexes.models.IndexerPermissionOption
    • azure.search.documents.indexes.models.IndexerRuntime
    • azure.search.documents.indexes.models.IndexingMode
    • azure.search.documents.indexes.models.IndexStatisticsSummary
    • azure.search.documents.indexes.models.KnowledgeRetrievalLowReasoningEffort
    • azure.search.documents.indexes.models.KnowledgeRetrievalMediumReasoningEffort
    • azure.search.documents.indexes.models.KnowledgeRetrievalOutputMode
    • azure.search.documents.indexes.models.KnowledgeSourceIngestionPermissionOption
    • azure.search.documents.indexes.models.PermissionFilter
    • azure.search.documents.indexes.models.SearchIndexerCache
    • azure.search.documents.indexes.models.SearchIndexPermissionFilterOption
    • azure.search.documents.indexes.models.ServiceIndexersRuntime
    • azure.search.documents.indexes.models.SplitSkillEncoderModelName
    • azure.search.documents.indexes.models.SplitSkillUnit
    • azure.search.documents.indexes.models.VisionVectorizeSkill
    • azure.search.documents.knowledgebases.models.IndexedSharePointKnowledgeSourceParams
    • azure.search.documents.knowledgebases.models.KnowledgeBaseIndexedSharePointReference
    • azure.search.documents.knowledgebases.models.KnowledgeBaseModelAnswerSynthesisActivityRecord
    • azure.search.documents.knowledgebases.models.KnowledgeBaseModelQueryPlanningActivityRecord
    • azure.search.documents.knowledgebases.models.KnowledgeBaseRemoteSharePointReference
    • azure.search.documents.knowledgebases.models.RemoteSharePointKnowledgeSourceParams
    • azure.search.documents.models.DebugInfo
    • azure.search.documents.models.HybridCountAndFacetMode
    • azure.search.documents.models.HybridSearch
    • azure.search.documents.models.QueryLanguage
    • azure.search.documents.models.QueryResultDocumentInnerHit
    • azure.search.documents.models.QueryResultDocumentRerankerInput
    • azure.search.documents.models.QueryResultDocumentSemanticField
    • azure.search.documents.models.QueryRewritesDebugInfo
    • azure.search.documents.models.QueryRewritesType
    • azure.search.documents.models.QueryRewritesValuesDebugInfo
    • azure.search.documents.models.QuerySpellerType
    • azure.search.documents.models.SearchDocumentsResult
    • azure.search.documents.models.SearchScoreThreshold
    • azure.search.documents.models.SemanticDebugInfo
    • azure.search.documents.models.SemanticFieldState
    • azure.search.documents.models.SemanticQueryRewritesResultType
    • azure.search.documents.models.VectorSimilarityThreshold
    • azure.search.documents.models.VectorThreshold
    • azure.search.documents.models.VectorThresholdKind
    • SharePoint knowledge source types (IndexedSharePointKnowledgeSource, RemoteSharePointKnowledgeSource and related models including IndexedSharePointKnowledgeSourceParameters, RemoteSharePointKnowledgeSourceParameters, SharePointSensitivityLabelInfo)
  • Below properties do not exist in this release

    • azure.search.documents.indexes.models.ChatCompletionSkill.auth_resource_id
    • azure.search.documents.indexes.models.ChatCompletionSkill.batch_size
    • azure.search.documents.indexes.models.ChatCompletionSkill.degree_of_parallelism
    • azure.search.documents.indexes.models.ChatCompletionSkill.http_headers
    • azure.search.documents.indexes.models.ChatCompletionSkill.http_method
    • azure.search.documents.indexes.models.ChatCompletionSkill.timeout
    • azure.search.documents.indexes.models.IndexerExecutionResult.mode
    • azure.search.documents.indexes.models.IndexerExecutionResult.status_detail
    • azure.search.documents.indexes.models.KnowledgeBase.answer_instructions
    • azure.search.documents.indexes.models.KnowledgeBase.output_mode
    • azure.search.documents.indexes.models.KnowledgeBase.retrieval_instructions
    • azure.search.documents.indexes.models.KnowledgeBase.retrieval_reasoning_effort
    • azure.search.documents.indexes.models.KnowledgeSourceIngestionParameters.ingestion_permission_options
    • azure.search.documents.indexes.models.SearchField.permission_filter
    • azure.search.documents.indexes.models.SearchField.sensitivity_label
    • azure.search.documents.indexes.models.SearchIndex.permission_filter_option
    • azure.search.documents.indexes.models.SearchIndex.purview_enabled
    • azure.search.documents.indexes.models.SearchIndexer.cache
    • azure.search.documents.indexes.models.SearchIndexerDataSourceConnection.indexer_permission_options
    • azure.search.documents.indexes.models.SearchIndexerDataSourceConnection.sub_type
    • azure.search.documents.indexes.models.SearchIndexerDataUserAssignedIdentity.federated_identity_client_id
    • azure.search.documents.indexes.models.SearchIndexerKnowledgeStore.parameters
    • azure.search.documents.indexes.models.SearchIndexerStatus.current_state
    • azure.search.documents.indexes.models.SearchIndexerStatus.runtime
    • azure.search.documents.indexes.models.SearchServiceStatistics.indexers_runtime
    • azure.search.documents.indexes.models.SemanticConfiguration.flighting_opt_in
    • azure.search.documents.indexes.models.SplitSkill.azure_open_ai_tokenizer_parameters
    • azure.search.documents.indexes.models.SplitSkill.unit
    • azure.search.documents.knowledgebases.models.AzureBlobKnowledgeSourceParams.always_query_source
    • azure.search.documents.knowledgebases.models.IndexedOneLakeKnowledgeSourceParams.always_query_source
    • azure.search.documents.knowledgebases.models.KnowledgeBaseRetrievalRequest.max_output_size
    • azure.search.documents.knowledgebases.models.KnowledgeBaseRetrievalRequest.messages
    • azure.search.documents.knowledgebases.models.KnowledgeBaseRetrievalRequest.output_mode
    • azure.search.documents.knowledgebases.models.KnowledgeBaseRetrievalRequest.retrieval_reasoning_effort
    • azure.search.documents.knowledgebases.models.KnowledgeSourceParams.always_query_source
    • azure.search.documents.knowledgebases.models.WebKnowledgeSourceParams.always_query_source
    • azure.search.documents.models.DebugInfo.query_rewrites
    • azure.search.documents.models.DocumentDebugInfo.inner_hits
    • azure.search.documents.models.DocumentDebugInfo.semantic
    • azure.search.documents.models.FacetResult.avg
    • azure.search.documents.models.FacetResult.cardinality
    • azure.search.documents.models.FacetResult.facets
    • azure.search.documents.models.FacetResult.max
    • azure.search.documents.models.FacetResult.min
    • azure.search.documents.models.FacetResult.sum
    • azure.search.documents.models.SearchDocumentsResult.debug_info
    • azure.search.documents.models.SearchDocumentsResult.semantic_query_rewrites_result_type
    • azure.search.documents.models.VectorizableTextQuery.query_rewrites
    • azure.search.documents.models.VectorQuery.filter_override
    • azure.search.documents.models.VectorQuery.per_document_vector_limit
    • azure.search.documents.models.VectorQuery.threshold
  • Below parameters do not exist in this release

    • SearchClient.search.hybrid_search
    • SearchClient.search.query_language
    • SearchClient.search.query_rewrites
    • SearchClient.search.semantic_fields
    • SearchClient.search.speller
    • SearchIndexerClient.create_or_update_data_source_connection.skip_indexer_reset_requirement_for_cache
    • SearchIndexerClient.create_or_update_indexer.disable_cache_reprocessing_change_detection
    • SearchIndexerClient.create_or_update_indexer.skip_indexer_reset_requirement_for_cache
    • SearchIndexerClient.create_or_update_skillset.disable_cache_reprocessing_change_detection
    • SearchIndexerClient.create_or_update_skillset.skip_indexer_reset_requirement_for_cache
  • Below operations do not exist in this release

    • SearchIndexClient.list_index_stats_summary
    • SearchIndexerClient.reset_documents
    • SearchIndexerClient.reset_skills
    • SearchIndexerClient.resync
  • Below enum values do not exist in this release

    • azure.search.documents.indexes.models.AzureOpenAIModelName.GPT4_O
    • azure.search.documents.indexes.models.AzureOpenAIModelName.GPT4_O_MINI
    • azure.search.documents.indexes.models.AzureOpenAIModelName.GPT41
    • azure.search.documents.indexes.models.AzureOpenAIModelName.GPT41_MINI
    • azure.search.documents.indexes.models.AzureOpenAIModelName.GPT41_NANO
    • azure.search.documents.indexes.models.AzureOpenAIModelName.GPT5
    • azure.search.documents.indexes.models.AzureOpenAIModelName.GPT5_MINI (renamed to GPT_5_MINI)
    • azure.search.documents.indexes.models.AzureOpenAIModelName.GPT5_NANO (renamed to GPT_5_NANO)
    • azure.search.documents.indexes.models.KnowledgeSourceKind.INDEXED_ONE_LAKE (renamed to INDEXED_ONELAKE)
    • azure.search.documents.indexes.models.SearchIndexerDataSourceType.SHARE_POINT (renamed to SHAREPOINT)
    • azure.search.documents.knowledgebases.models.KnowledgeBaseActivityRecordType.INDEXED_ONE_LAKE (renamed to INDEXED_ONELAKE)
    • azure.search.documents.knowledgebases.models.KnowledgeBaseReferenceType.INDEXED_ONE_LAKE (renamed to INDEXED_ONELAKE)
    • azure.search.documents.knowledgebases.models.KnowledgeRetrievalReasoningEffortKind.LOW
    • azure.search.documents.knowledgebases.models.KnowledgeRetrievalReasoningEffortKind.MEDIUM

Deprecated

The following changes are due to the migration from AutoRest to TypeSpec code generation. The old API continues to work at runtime via backward-compatible aliases:

  • azure.search.documents.indexes.models.SearchFieldDataType enum values are now UPPER_CASE (e.g., STRING instead of String). PascalCase aliases (e.g., SearchFieldDataType.String) are preserved and continue to work at runtime.
  • azure.search.documents.indexes.models.SearchField now uses retrievable (from the API) as its native property instead of hidden. A hidden property (the inverse of retrievable) is preserved for backward compatibility via getter/setter.

Other Changes

  • Updated default API version to 2026-04-01.
  • Some boolean properties now default to None instead of True or False. There is no behavioral change — the server applies the same default when the property is omitted. Examples include:
    • azure.search.documents.indexes.models.CommonGramTokenFilter.ignore_case
    • azure.search.documents.indexes.models.CommonGramTokenFilter.use_query_mode
    • azure.search.documents.indexes.models.DictionaryDecompounderTokenFilter.only_longest_match
    • azure.search.documents.indexes.models.KeywordMarkerTokenFilter.ignore_case
    • azure.search.documents.indexes.models.StopwordsTokenFilter.ignore_case
    • azure.search.documents.indexes.models.SynonymTokenFilter.ignore_case

11.7.0b2 (2025-11-13)

Features Added

  • Added new models:

    • azure.search.documents.indexes.models.AIServices
    • azure.search.documents.indexes.models.CompletedSynchronizationState
    • azure.search.documents.indexes.models.ContentUnderstandingSkill
    • azure.search.documents.indexes.models.ContentUnderstandingSkillChunkingProperties
    • azure.search.documents.indexes.models.ContentUnderstandingSkillChunkingUnit
    • azure.search.documents.indexes.models.ContentUnderstandingSkillExtractionOptions
    • azure.search.documents.indexes.models.IndexedOneLakeKnowledgeSource
    • azure.search.documents.indexes.models.IndexedOneLakeKnowledgeSourceParameters
    • azure.search.documents.indexes.models.IndexedSharePointContainerName
    • azure.search.documents.indexes.models.IndexedSharePointKnowledgeSource
    • azure.search.documents.indexes.models.IndexedSharePointKnowledgeSourceParameters
    • azure.search.documents.indexes.models.IndexerRuntime
    • azure.search.documents.indexes.models.KnowledgeRetrievalLowReasoningEffort
    • azure.search.documents.indexes.models.KnowledgeRetrievalMediumReasoningEffort
    • azure.search.documents.indexes.models.KnowledgeRetrievalMinimalReasoningEffort
    • azure.search.documents.indexes.models.KnowledgeRetrievalOutputMode
    • azure.search.documents.indexes.models.KnowledgeRetrievalReasoningEffort
    • azure.search.documents.indexes.models.KnowledgeRetrievalReasoningEffortKind
    • azure.search.documents.indexes.models.KnowledgeSourceAzureOpenAIVectorizer
    • azure.search.documents.indexes.models.KnowledgeSourceContentExtractionMode
    • azure.search.documents.indexes.models.KnowledgeSourceIngestionParameters
    • azure.search.documents.indexes.models.KnowledgeSourceIngestionPermissionOption
    • azure.search.documents.indexes.models.KnowledgeSourceStatistics
    • azure.search.documents.indexes.models.KnowledgeSourceStatus
    • azure.search.documents.indexes.models.KnowledgeSourceSynchronizationStatus
    • azure.search.documents.indexes.models.KnowledgeSourceVectorizer
    • azure.search.documents.indexes.models.RemoteSharePointKnowledgeSource
    • azure.search.documents.indexes.models.RemoteSharePointKnowledgeSourceParameters
    • azure.search.documents.indexes.models.SearchIndexFieldReference
    • azure.search.documents.indexes.models.ServiceIndexersRuntime
    • azure.search.documents.indexes.models.SynchronizationState
    • azure.search.documents.indexes.models.WebKnowledgeSource
    • azure.search.documents.indexes.models.WebKnowledgeSourceDomain
    • azure.search.documents.indexes.models.WebKnowledgeSourceDomains
    • azure.search.documents.indexes.models.WebKnowledgeSourceParameters
  • Expanded existing models and enums:

    • Added support for avg, min, max, and cardinality metrics on azure.search.documents.models.FacetResult.
    • Added is_adls_gen2 and ingestion_parameters options on azure.search.documents.indexes.models.AzureBlobKnowledgeSourceParameters.
    • Added support for gpt-5, gpt-5-mini, and gpt-5-nano values on azure.search.documents.indexes.models.AzureOpenAIModelName.
    • Added support for web, remoteSharePoint, indexedSharePoint, and indexedOneLake values on azure.search.documents.indexes.models.KnowledgeSourceKind.
    • Added support for onelake and sharepoint values on azure.search.documents.indexes.models.SearchIndexerDataSourceConnection.type.
    • Added azure.search.documents.indexes.models.SearchField.sensitivity_label.
    • Added azure.search.documents.indexes.models.SearchIndexerStatus.runtime.
    • Added azure.search.documents.indexes.models.SearchIndex.purview_enabled.
    • Added azure.search.documents.indexes.models.SearchServiceLimits.max_cumulative_indexer_runtime_seconds.
    • Added azure.search.documents.indexes.models.SearchServiceStatistics.indexers_runtime.
    • Added product aggregation support to azure.search.documents.indexes.models.ScoringFunctionAggregation.
    • Added share_point to azure.search.documents.indexes.models.SearchIndexerDataSourceType.
    • Added include_references, include_reference_source_data, always_query_source, and reranker_threshold options on azure.search.documents.knowledgebases.models.SearchIndexKnowledgeSourceParams.
    • Added error tracking details on azure.search.documents.knowledgebases.models.KnowledgeBaseActivityRecord derivatives.
  • Client and service enhancements:

    • Added support for HTTP 206 partial content responses when calling azure.search.documents.knowledgebases.KnowledgeBaseRetrievalClient.knowledge_retrieval.retrieve.
    • Added optional x_ms_enable_elevated_read keyword to azure.search.documents.SearchClient.search and azure.search.documents.aio.SearchClient.search for elevated document reads.

Breaking Changes

These changes do not impact the API of stable versions such as 11.6.0. Only code written against a beta version such as 11.6.0b12 may be affected.

  • Knowledge base naming and routing refresh:
    • Renamed the knowledge agent surface area to the knowledge base equivalents:
      • azure.search.documents.indexes.models.KnowledgeAgent -> azure.search.documents.indexes.models.KnowledgeBase
      • azure.search.documents.indexes.models.KnowledgeAgentAzureOpenAIModel -> azure.search.documents.indexes.models.KnowledgeBaseAzureOpenAIModel
      • azure.search.documents.indexes.models.KnowledgeAgentModel -> azure.search.documents.indexes.models.KnowledgeBaseModel
      • azure.search.documents.indexes.models.KnowledgeAgentModelKind -> azure.search.documents.indexes.models.KnowledgeBaseModelKind
    • Knowledge base clients now target /knowledgebases REST routes and accept knowledge_base_name instead of the agent name parameter.
    • Replaced azure.search.documents.indexes.models.KnowledgeAgentOutputConfiguration with azure.search.documents.indexes.models.KnowledgeBase.output_mode.
    • Replaced azure.search.documents.indexes.models.KnowledgeAgentOutputConfigurationModality with azure.search.documents.indexes.models.KnowledgeRetrievalOutputMode.
    • Removed azure.search.documents.indexes.models.KnowledgeAgentRequestLimits; callers should apply request guardrails at the service level.
  • Knowledge source parameterization updates:
    • Updated azure.search.documents.indexes.models.AzureBlobKnowledgeSourceParameters to use azure.search.documents.indexes.models.KnowledgeSourceIngestionParameters, replacing the previous identity, embedding_model, chat_completion_model, ingestion_schedule, and disable_image_verbalization properties with the new is_adls_gen2 and ingestion_parameters shape.
    • Updated azure.search.documents.indexes.models.KnowledgeSourceReference to carry only the source name, moving the include_references, include_reference_source_data, always_query_source, max_sub_queries, and reranker_threshold options onto the concrete parameter types.
  • Compression configuration cleanup:
    • Removed the default_oversampling property from azure.search.documents.indexes.models.BinaryQuantizationCompression, azure.search.documents.indexes.models.ScalarQuantizationCompression, and azure.search.documents.indexes.models.VectorSearchCompression.
    • Removed the rerank_with_original_vectors property from azure.search.documents.indexes.models.BinaryQuantizationCompression, azure.search.documents.indexes.models.ScalarQuantizationCompression, and azure.search.documents.indexes.models.VectorSearchCompression.
  • Knowledge source parameter field realignment:
    • Replaced azure.search.documents.indexes.models.SearchIndexKnowledgeSourceParameters.source_data_select with azure.search.documents.indexes.models.SearchIndexKnowledgeSourceParameters.source_data_fields.
    • Added azure.search.documents.indexes.models.SearchIndexKnowledgeSourceParameters.search_fields for field mapping.
    • Added optional azure.search.documents.indexes.models.SearchIndexKnowledgeSourceParameters.semantic_configuration_name.

11.6.0 (2025-10-10)

Features Added

  • Added azure.search.documents.DocumentDebugInfo.
  • Added azure.search.documents.QueryDebugMode.
  • Added azure.search.documents.QueryResultDocumentSubscores.
  • Added azure.search.documents.SingleVectorFieldResult.
  • Added azure.search.documents.TextResult.
  • Added azure.search.documents.VectorsDebugInfo.
  • Added new parameter debug in azure.search.documents.SearchClient.search.
  • Added azure.search.documents.indexes.LexicalNormalizer.
  • Added azure.search.documents.indexes.LexicalNormalizerName.
  • Added azure.search.documents.indexes.AnalyzeTextOptions.normalizer_name.
  • Added azure.search.documents.indexes.CustomNormalizer.
  • Added azure.search.documents.indexes.DocumentIntelligenceLayoutSkill.
  • Added azure.search.documents.indexes.DocumentIntelligenceLayoutSkillExtractionOptions.
  • Added azure.search.documents.indexes.DocumentIntelligenceLayoutSkillChunkingProperties.
  • Added azure.search.documents.indexes.DocumentIntelligenceLayoutSkillChunkingUnit.
  • Added azure.search.documents.indexes.DocumentIntelligenceLayoutSkillMarkdownHeaderDepth.
  • Added azure.search.documents.indexes.DocumentIntelligenceLayoutSkillOutputFormat.
  • Added azure.search.documents.indexes.DocumentIntelligenceLayoutSkillOutputMode.
  • Added azure.search.documents.indexes.RankingOrder.
  • Added azure.search.documents.indexes.RescoringOptions.
  • Added azure.search.documents.indexes.SearchField.normalizer_name.
  • Added azure.search.documents.indexes.SearchIndex.normalizer.
  • Added azure.search.documents.indexes.SearchIndexerKnowledgeStoreParameters.
  • Added azure.search.documents.indexes.VectorSearchCompressionRescoreStorageMethod.
  • Support for running VectorQuerys against sub-fields of complex fields.
  • Added support for 2025-09-01 service version.
    • Support for reranker boosted scores in search results and the ability to sort results on either reranker or reranker boosted scores in SemanticConfiguration.rankingOrder.
    • Support for VectorSearchCompression.RescoringOptions to configure how vector compression handles the original vector when indexing and how vectors are used during rescoring.
    • Added SearchIndex.description to provide a textual description of the index.
    • Support for LexicalNormalizer when defining SearchIndex, SimpleField, and SearchableField and the ability to use it when analyzing text with SearchIndexClient.analyzeText and SearchIndexAsyncClient.analyzeText.
    • Support DocumentIntelligenceLayoutSkill skillset skill and OneLake SearchIndexerDataSourceConnection data source.
    • Support for QueryDebugMode in searching to retrieve detailed information about search processing. Only vector is supported for QueryDebugMode.

Breaking Changes

  • VectorSearchCompression.rerankWithOriginalVectors and VectorSearchCompression.defaultOversampling don't work with 2025-09-01 and were replaced by VectorSearchCompression.RescoringOptions.enabledRescoring and VectorSearchCompression.RescoringOptions.defaultOversampling. If using 2024-07-01 continue using the old properties, otherwise if using 2025-09-01 use the new properties in RescoringOptions.

Other Changes

  • Updated default API version to 2025-09-01.

11.7.0b1 (2025-09-05)

Features Added

  • Added azure.search.documents.models.DebugInfo.
  • Added azure.search.documents.indexes.models.AzureBlobKnowledgeSource.
  • Added azure.search.documents.indexes.models.AzureBlobKnowledgeSourceParameters.
  • Added azure.search.documents.indexes.models.IndexerResyncBody.
  • Added azure.search.documents.indexes.models.KnowledgeAgentOutputConfiguration.
  • Added azure.search.documents.indexes.models.KnowledgeAgentOutputConfigurationModality.
  • Added azure.search.documents.indexes.models.KnowledgeSource.
  • Added azure.search.documents.indexes.models.KnowledgeSourceKind.
  • Added azure.search.documents.indexes.models.KnowledgeSourceReference.
  • Added azure.search.documents.indexes.models.SearchIndexKnowledgeSource.
  • Added azure.search.documents.indexes.models.SearchIndexKnowledgeSourceParameters.
  • Removed azure.search.documents.indexes.models.KnowledgeAgentTargetIndex.
  • Added azure.search.documents.indexes.models.SearchIndex.description.
  • Added azure.search.documents.agent.models.KnowledgeAgentAzureBlobActivityArguments.
  • Added azure.search.documents.agent.models.KnowledgeAgentAzureBlobActivityRecord.
  • Added azure.search.documents.agent.models.KnowledgeAgentAzureBlobReference.
  • Added azure.search.documents.agent.models.KnowledgeAgentModelAnswerSynthesisActivityRecord.
  • Added azure.search.documents.agent.models.KnowledgeAgentRetrievalActivityRecord.
  • Added azure.search.documents.agent.models.KnowledgeAgentSearchIndexActivityArguments.
  • Added azure.search.documents.agent.models.KnowledgeAgentSearchIndexActivityRecord.
  • Added azure.search.documents.agent.models.KnowledgeAgentSearchIndexReference.
  • Added azure.search.documents.agent.models.KnowledgeAgentSemanticRerankerActivityRecord.
  • Added azure.search.documents.agent.models.KnowledgeSourceParams.
  • Added azure.search.documents.agent.models.SearchIndexKnowledgeSourceParams.
  • Removed azure.search.documents.agent.models.KnowledgeAgentAzureSearchDocReference.
  • Removed azure.search.documents.agent.models.KnowledgeAgentIndexParams.
  • Removed azure.search.documents.agent.models.KnowledgeAgentSearchActivityRecord.
  • Removed azure.search.documents.agent.models.KnowledgeAgentSearchActivityRecordQuery.
  • Removed azure.search.documents.agent.models.KnowledgeAgentSemanticRankerActivityRecord.
  • Added KnowledgeSource operations in SearchIndexClient.

Other Changes

  • Updated default API version to 2025-08-01-preview.

11.5.3 (2025-06-25)

Bugs Fixed

  • Fixed the issue search operation did not handle 206 correctly.

11.6.0b12 (2025-05-14)

Features Added

  • Added azure.search.documents.agent.KnowledgeAgentRetrievalClient.

  • Added knowledge agents operations in SearchIndexClient.

  • Added resync method in SearchIndexerClient.

  • Exposed @search.reranker_boosted_score in the search results.

  • Added x_ms_query_source_authorization as a keyword argument to SearchClient.search.

  • Added property azure.search.documents.indexes.models.SearchField.permission_filter.

  • Added property azure.search.documents.indexes.models.SearchIndex.permission_filter_option.

  • Added property azure.search.documents.indexes.models.SearchIndexerDataSourceConnection.indexer_permission_options.

  • Added new models:

    • azure.search.documents.models.QueryResultDocumentInnerHit
    • azure.search.documents.indexes.models.ChatCompletionExtraParametersBehavior
    • azure.search.documents.indexes.models.ChatCompletionResponseFormat
    • azure.search.documents.indexes.models.ChatCompletionResponseFormatType
    • azure.search.documents.indexes.models.ChatCompletionResponseFormatJsonSchemaProperties
    • azure.search.documents.indexes.models.ChatCompletionSchema
    • azure.search.documents.indexes.models.ChatCompletionSkill
    • azure.search.documents.indexes.models.CommonModelParameters
    • azure.search.documents.indexes.models.DocumentIntelligenceLayoutSkillChunkingProperties
    • azure.search.documents.indexes.models.DocumentIntelligenceLayoutSkillChunkingUnit
    • azure.search.documents.indexes.models.DocumentIntelligenceLayoutSkillExtractionOptions
    • azure.search.documents.indexes.models.DocumentIntelligenceLayoutSkillOutputFormat
    • azure.search.documents.indexes.models.IndexerPermissionOption
    • azure.search.documents.indexes.models.IndexerResyncOption
    • azure.search.documents.indexes.models.KnowledgeAgent
    • azure.search.documents.indexes.models.KnowledgeAgentAzureOpenAIModel
    • azure.search.documents.indexes.models.KnowledgeAgentModel
    • azure.search.documents.indexes.models.KnowledgeAgentModelKind
    • azure.search.documents.indexes.models.KnowledgeAgentRequestLimits
    • azure.search.documents.indexes.models.KnowledgeAgentTargetIndex
    • azure.search.documents.indexes.models.PermissionFilter
    • azure.search.documents.indexes.models.RankingOrder
    • azure.search.documents.indexes.models.SearchIndexPermissionFilterOption

Bugs Fixed

  • Fixed the issue batching in upload_documents() did not work. #40157

Other Changes

  • Updated the API version to "2025-05-01-preview"

11.6.0b11 (2025-03-25)

Bugs Fixed

  • Fixed the issue that could not deserialize document_debug_info. #40138

11.6.0b10 (2025-03-11)

Features Added

  • Added SearchIndexClient.list_index_stats_summary.
  • Added SearchIndexerCache.id.
  • Added new model azure.search.documents.indexes.models.IndexStatisticsSummary.

Breaking Changes

These changes do not impact the API of stable versions such as 11.5.0. Only code written against a beta version such as 11.6.0b9 may be affected.

  • Renamed azure.search.documents.indexes.models.AIStudioModelCatalogName to azure.search.documents.indexes.models.AIFoundryModelCatalogName.

Other Changes

  • Updated the API version to "2025-03-01-preview"

11.6.0b9 (2025-01-14)

Bugs Fixed

  • Exposed @search.document_debug_info in the search results.

11.6.0b8 (2024-11-21)

Features Added

  • Added get_debug_info in Search results.

11.6.0b7 (2024-11-18)

Features Added

  • Added SearchResourceEncryptionKey.identity support.
  • Added query_rewrites & query_rewrites_count in SearchClient.Search.
  • Added query_rewrites in VectorizableTextQuery.
  • Added new models:
    • azure.search.documents.QueryRewritesType
    • azure.search.documents.indexes.AIServicesAccountIdentity
    • azure.search.documents.indexes.AIServicesAccountKey
    • azure.search.documents.indexes.AzureOpenAITokenizerParameters
    • azure.search.documents.indexes.DocumentIntelligenceLayoutSkillMarkdownHeaderDepth
    • azure.search.documents.indexes.DocumentIntelligenceLayoutSkillOutputMode
    • azure.search.documents.indexes.DataSourceCredentials
    • azure.search.documents.indexes.DocumentIntelligenceLayoutSkill
    • azure.search.documents.indexes.IndexerCurrentState
    • azure.search.documents.indexes.MarkdownHeaderDepth
    • azure.search.documents.indexes.MarkdownParsingSubmode
    • azure.search.documents.indexes.RescoringOptions
    • azure.search.documents.indexes.ResourceCounter
    • azure.search.documents.indexes.SkillNames
    • azure.search.documents.indexes.SplitSkillEncoderModelName
    • azure.search.documents.indexes.SplitSkillUnit
    • azure.search.documents.indexes.VectorSearchCompressionKind
    • azure.search.documents.indexes.VectorSearchCompressionRescoreStorageMethod

Other Changes

  • Updated the API version to "2024-1-01-preview"

11.5.2 (2024-10-31)

Bugs Fixed

  • Fixed the issue that encryptionKey was lost during serialization. #37521

11.6.0b6 (2024-10-08)

Bugs Fixed

  • Fixed the issue that encryptionKey in SearchIndexer was lost during serialization. #37521

11.6.0b5 (2024-09-19)

Features Added

  • SearchIndexClient.get_search_client inherits the API version.

Bugs Fixed

  • Fixed the issue that we missed ODATA header when using Entra ID auth.
  • Fixed the issue that encryptionKey was lost during serialization. #37251

Other Changes

  • Updated the API version to "2024-09-01-preview"

Breaking changes

These changes do not impact the API of stable versions such as 11.5.0. Only code written against a beta version such as 11.6.0b4 may be affected.

  • Below models were renamed
    • azure.search.documents.indexes.models.SearchIndexerIndexProjections -> azure.search.documents.indexes.models.SearchIndexerIndexProjection
    • azure.search.documents.indexes.models.LineEnding -> azure.search.documents.indexes.models.OrcLineEnding
    • azure.search.documents.indexes.models.ScalarQuantizationCompressionConfiguration -> azure.search.documents.indexes.models.ScalarQuantizationCompression
    • azure.search.documents.indexes.models.VectorSearchCompressionConfiguration -> azure.search.documents.indexes.models.VectorSearchCompression
    • azure.search.documents.indexes.models.VectorSearchCompressionTargetDataType -> azure.search.documents.indexes.models.VectorSearchCompressionTarget
  • Below properties were renamed
    • azure.search.documents.indexes.models.AzureMachineLearningVectorizer.name -> azure.search.documents.indexes.models.AzureMachineLearningVectorizer.vectorizer_name
    • azure.search.documents.indexes.models.AzureOpenAIEmbeddingSkill.deployment_id -> azure.search.documents.indexes.models.AzureOpenAIEmbeddingSkill.deployment_name
    • azure.search.documents.indexes.models.AzureOpenAIEmbeddingSkill.resource_uri -> azure.search.documents.indexes.models.AzureOpenAIEmbeddingSkill.resource_url
    • azure.search.documents.indexes.models.AzureOpenAIVectorizer.azure_open_ai_parameters -> azure.search.documents.indexes.models.AzureOpenAIVectorizer.parameters
    • azure.search.documents.indexes.models.AzureOpenAIVectorizer.name -> azure.search.documents.indexes.models.AzureOpenAIVectorizer.vectorizer_name
    • azure.search.documents.indexes.models.SearchIndexerDataUserAssignedIdentity.user_assigned_identity -> azure.search.documents.indexes.models.SearchIndexerDataUserAssignedIdentity.resource_id
    • azure.search.documents.indexes.models.VectorSearchProfile.compression_configuration_name -> azure.search.documents.indexes.models.VectorSearchProfile.compression_name
    • azure.search.documents.indexes.models.VectorSearchProfile.vectorizer -> azure.search.documents.indexes.models.VectorSearchProfile.vectorizer_name
    • azure.search.documents.indexes.models.VectorSearchVectorizer.name -> azure.search.documents.indexes.models.VectorSearchVectorizer.vectorizer_name

11.5.1 (2024-07-30)

Other Changes

  • Improved type checks.

11.5.0 (2024-07-16)

Breaking Changes

These changes do not impact the API of stable versions such as 11.4.0. Only code written against a beta version such as 11.6.0b4 may be affected.

  • Below models are renamed

    • azure.search.documents.indexes.models.SearchIndexerIndexProjections -> azure.search.documents.indexes.models.SearchIndexerIndexProjection
    • azure.search.documents.indexes.models.LineEnding -> azure.search.documents.indexes.models.OrcLineEnding
    • azure.search.documents.indexes.models.ScalarQuantizationCompressionConfiguration -> azure.search.documents.indexes.models.ScalarQuantizationCompression
    • azure.search.documents.indexes.models.VectorSearchCompressionConfiguration -> azure.search.documents.indexes.models.VectorSearchCompression
    • azure.search.documents.indexes.models.VectorSearchCompressionTargetDataType -> azure.search.documents.indexes.models.VectorSearchCompressionTarget