Skip to content

Azure.Search.Documents_12.2.0-beta.1

Pre-release
Pre-release

Choose a tag to compare

@azure-sdk-automation azure-sdk-automation released this 01 Dec 01:18
0548961

12.2.0-beta.1 (2026-11-20)

Features Added

  • Added support for 2026-11-01-preview, now the default service version. Older supported GA service versions remain available.
  • Added graph queries with typed results, diagnostics, statistics, explain plans, and provenance, along with graph knowledge source extraction, grounding, and retrieval models. Graph retrieval options use KnowledgeSourceGraphParams, KnowledgeSourceGraphProvenanceParams, and KnowledgeSourceGraphHydrateDocumentsParams.
  • Added topic-graph vector search profiles and discriminated NoneVectorQueryTopicGraph, DiverseVectorQueryTopicGraph, and BalancedVectorQueryTopicGraph query options.
  • Added facet-based filter-hint AutoConfiguration, knowledge source enrichment caching, and the Gpt6Astra, Gpt6Sol, Gpt6Luna, and Gpt61Sol model names.
  • Added random scoring profiles with optional query-time seeds and agentic search options.
  • Restored preview indexer cache, query, and knowledge retrieval capabilities from the full preview specification.
  • Restored preview image vector queries, Azure Machine Learning vectorizers, and reported retrieval reasoning effort, removing the GA-only obsolete annotations from these APIs and their model factories.
  • Carried forward the 2026-10-01 GA service version, knowledge base streaming contracts, document lookup authorization options, and token-credential client registration overloads.

Breaking Changes

  • Removed the older preview service-version option; use V2026_11_01_Preview or a supported GA service version instead.

  • Removed the preview-only SearchClient.GetDocument<T> and GetDocumentAsync<T> overloads that accepted querySourceAuthorization and enableElevatedRead directly (present in 12.1.0-beta.2). Set GetDocumentOptions.QuerySourceAuthorization and GetDocumentOptions.EnableElevatedRead instead. The GA overloads accepting GetDocumentOptions remain unchanged. For example:

    // Before (earlier preview):
    await client.GetDocumentAsync<SearchDocument>(
        "hotel-1", querySourceAuthorization: userToken, enableElevatedRead: false);
    
    // After (the same options also work with synchronous GetDocument<T>):
    await client.GetDocumentAsync<SearchDocument>("hotel-1", new GetDocumentOptions
    {
        QuerySourceAuthorization = userToken,
        EnableElevatedRead = false
    });
  • Renamed the preview GetIndexStatsSummary and GetKnowledgeSourceFiles pageable methods to GetAllIndexStatsSummary and GetAllKnowledgeSourceFiles. Generated pageable APIs for synonym maps, indexers, data sources, and skillsets now use GetAll* names; the existing buffered list APIs remain available.

  • Updated preview knowledge source query-hint and retrieval models to match the 2026-11-01-preview contract.

  • Renamed the preview activity record property ElapsedInMs to ElapsedMs.

  • Aligned preview knowledge base streaming models, retrieval overloads, and model factories with the October GA SDK contract.

  • Renamed preview multipart file request types to UploadKnowledgeSourceFileMultipartContent and UpdateKnowledgeSourceFileContent to match the October GA SDK.

Bugs Fixed

  • Fixed converting null strings to nullable extensible enum values to return null instead of throwing, matching the latest October GA SDK.
  • Fixed ambiguous API key and configuration-based client registration extension calls while retaining the legacy static registration methods.
  • Restored the October GA optional and partial positional arguments on vector query, knowledge source, synchronization state, facet result, and enumerable-based search index model factories.
  • Preserved October GA model factory signatures, defaults, and scoring values while exposing preview-only response properties through additional factory overloads. Corrected selected-index listing forwarding, indexing configuration serialization, semantic and vector option roundtripping, and culture-sensitive numeric conversions.
  • Preserved named-argument calls to October GA scoring function constructors.
  • Preserved fieldName and boost when serializing customer-derived scoring functions.
  • Corrected the Work IQ sample's authorization header.
  • Fixed the source-name and file-ID argument order in the file knowledge source update and delete samples.
  • Carried forward the latest October GA reasoning factory's optional, positional, and null argument behavior while retaining November reasoning effort fields.