Skip to content

Search tsp migration 2025-11-01-preview#43629

Merged
xiangyan99 merged 127 commits intomainfrom
search_pure_tsp_2025-11-pre
Feb 6, 2026
Merged

Search tsp migration 2025-11-01-preview#43629
xiangyan99 merged 127 commits intomainfrom
search_pure_tsp_2025-11-pre

Conversation

@xiangyan99
Copy link
Member

Description

Please add an informative description that covers that changes made by the pull request and link all relevant issues.

If an SDK is being regenerated based on a new API spec, a link to the pull request containing these API spec changes should be included above.

All SDK Contribution checklist:

  • The pull request does not introduce [breaking changes]
  • CHANGELOG is updated for new features, bug fixes or other significant changes.
  • I have read the contribution guidelines.

General Guidelines and Best Practices

  • Title of the pull request is clear and informative.
  • There are a small number of commits, each of which have an informative message. This means that previously merged commits do not appear in the history of the PR. For more information on cleaning up the commits in your PR, see this page.

Testing Guidelines

  • Pull request includes test coverage for the included changes.

@github-actions
Copy link

github-actions bot commented Oct 24, 2025

API Change Check

APIView identified API level changes in this PR and created the following API reviews

azure-search-documents

@xiangyan99 xiangyan99 marked this pull request as ready for review February 6, 2026 17:01
@xiangyan99 xiangyan99 requested review from a team as code owners February 6, 2026 17:01
Copilot AI review requested due to automatic review settings February 6, 2026 17:01
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR appears to regenerate/migrate the Azure Search Documents SDK to a newer code generator and API version (2025-11-01-preview), restructuring clients/configuration and removing a large set of previously generated AutoRest files.

Changes:

  • Replaces large portions of AutoRest-generated _generated client/operations surface with new *_client / *_configuration implementations and patch-based exports.
  • Refactors Search client and indexing buffered sender logic (sync + async), including new auto-flush scheduling.
  • Updates shared utils/serialization and packaging metadata (assets tag, manifest ordering, new _metadata.json).

Reviewed changes

Copilot reviewed 65 out of 219 changed files in this pull request and generated 9 comments.

Show a summary per file
File Description
sdk/search/azure-search-documents/azure/search/documents/indexes/_generated/models/init.py Removes old AutoRest-generated indexes models export surface.
sdk/search/azure-search-documents/azure/search/documents/indexes/_generated/aio/operations/_synonym_maps_operations.py Removes old AutoRest-generated async synonym maps operations.
sdk/search/azure-search-documents/azure/search/documents/indexes/_generated/aio/operations/_search_service_client_operations.py Removes old AutoRest-generated async service operations mixin.
sdk/search/azure-search-documents/azure/search/documents/indexes/_generated/aio/operations/_patch.py Removes generated async operations patch hook.
sdk/search/azure-search-documents/azure/search/documents/indexes/_generated/aio/operations/_knowledge_sources_operations.py Removes old AutoRest-generated async knowledge sources operations.
sdk/search/azure-search-documents/azure/search/documents/indexes/_generated/aio/operations/_knowledge_bases_operations.py Removes old AutoRest-generated async knowledge bases operations.
sdk/search/azure-search-documents/azure/search/documents/indexes/_generated/aio/operations/_data_sources_operations.py Removes old AutoRest-generated async data sources operations.
sdk/search/azure-search-documents/azure/search/documents/indexes/_generated/aio/operations/_aliases_operations.py Removes old AutoRest-generated async aliases operations.
sdk/search/azure-search-documents/azure/search/documents/indexes/_generated/aio/operations/init.py Removes old AutoRest-generated async operations exports.
sdk/search/azure-search-documents/azure/search/documents/indexes/_generated/aio/_search_service_client.py Removes old AutoRest-generated async SearchServiceClient.
sdk/search/azure-search-documents/azure/search/documents/indexes/_generated/aio/_configuration.py Removes old AutoRest-generated async SearchServiceClientConfiguration.
sdk/search/azure-search-documents/azure/search/documents/indexes/_generated/aio/init.py Removes old AutoRest-generated async package exports.
sdk/search/azure-search-documents/azure/search/documents/indexes/_generated/_utils/utils.py Removes old generated utils typing mixin.
sdk/search/azure-search-documents/azure/search/documents/indexes/_generated/_search_service_client.py Removes old AutoRest-generated sync SearchServiceClient.
sdk/search/azure-search-documents/azure/search/documents/indexes/_generated/_configuration.py Removes old AutoRest-generated sync SearchServiceClientConfiguration.
sdk/search/azure-search-documents/azure/search/documents/indexes/_generated/init.py Removes old AutoRest-generated sync package exports.
sdk/search/azure-search-documents/azure/search/documents/indexes/_configuration.py Adds new configurations for Search index and indexer clients with credential policy inference.
sdk/search/azure-search-documents/azure/search/documents/indexes/_client.py Adds new SearchIndexClient and SearchIndexerClient implementations.
sdk/search/azure-search-documents/azure/search/documents/indexes/init.py Updates exports to new clients + patch-based public surface.
sdk/search/azure-search-documents/azure/search/documents/aio/_timer.py Removes old async timer utility used by buffered sender.
sdk/search/azure-search-documents/azure/search/documents/aio/_patch.py Reworks async patch surface: SearchClient wrapper + new async buffered sender implementation and exports.
sdk/search/azure-search-documents/azure/search/documents/aio/_paging.py Removes old async paging implementation (AsyncSearchItemPaged).
sdk/search/azure-search-documents/azure/search/documents/aio/_operations/init.py Adjusts async operations exports to new mixin + patch hook.
sdk/search/azure-search-documents/azure/search/documents/aio/_index_documents_batch_async.py Removes old async IndexDocumentsBatch implementation.
sdk/search/azure-search-documents/azure/search/documents/aio/_configuration.py Adds new async SearchClientConfiguration with credential policy inference.
sdk/search/azure-search-documents/azure/search/documents/aio/_client.py Updates async SearchClient implementation to new configuration and send_request naming.
sdk/search/azure-search-documents/azure/search/documents/aio/init.py Updates async package exports to new SearchClient + patch-based public surface.
sdk/search/azure-search-documents/azure/search/documents/_utils/utils.py Adds new shared utils for ETag quoting and match-condition header prep.
sdk/search/azure-search-documents/azure/search/documents/_utils/serialization.py Updates generator headers and replaces eval-based basic-type (de)serialization.
sdk/search/azure-search-documents/azure/search/documents/_utils/init.py Updates generator headers.
sdk/search/azure-search-documents/azure/search/documents/_utils.py Removes legacy helper module (auth policy helpers, odata, retryable status, etc.).
sdk/search/azure-search-documents/azure/search/documents/_search_indexing_buffered_sender_base.py Removes legacy buffered sender base implementation.
sdk/search/azure-search-documents/azure/search/documents/_search_documents_error.py Removes legacy RequestEntityTooLargeError definition (moved to models patch).
sdk/search/azure-search-documents/azure/search/documents/_queries.py Removes legacy query builder helpers.
sdk/search/azure-search-documents/azure/search/documents/_patch.py Reworks sync patch surface: SearchClient wrapper, ApiVersion/DEFAULT_VERSION, buffered sender, paging export, and public exports.
sdk/search/azure-search-documents/azure/search/documents/_paging.py Removes legacy sync paging implementation (SearchItemPaged).
sdk/search/azure-search-documents/azure/search/documents/_operations/init.py Adjusts sync operations exports to new mixin + patch hook.
sdk/search/azure-search-documents/azure/search/documents/_headers_mixin.py Removes legacy header merging logic.
sdk/search/azure-search-documents/azure/search/documents/_generated/py.typed Removes marker from _generated package (typing marker likely moved elsewhere).
sdk/search/azure-search-documents/azure/search/documents/_generated/models/init.py Removes old AutoRest-generated Search documents models export surface.
sdk/search/azure-search-documents/azure/search/documents/_generated/aio/_configuration.py Removes old AutoRest-generated async SearchIndexClientConfiguration.
sdk/search/azure-search-documents/azure/search/documents/_generated/aio/init.py Removes old AutoRest-generated async exports.
sdk/search/azure-search-documents/azure/search/documents/_generated/_configuration.py Removes old AutoRest-generated sync SearchIndexClientConfiguration.
sdk/search/azure-search-documents/azure/search/documents/_generated/init.py Removes old AutoRest-generated sync exports.
sdk/search/azure-search-documents/azure/search/documents/_configuration.py Adds new sync SearchClientConfiguration with credential policy inference.
sdk/search/azure-search-documents/azure/search/documents/_client.py Updates sync SearchClient implementation to new configuration and send_request naming.
sdk/search/azure-search-documents/azure/search/documents/_api_versions.py Removes legacy ApiVersion/DEFAULT_VERSION module (moved into patch).
sdk/search/azure-search-documents/azure/search/documents/init.py Updates top-level exports to new SearchClient + patch-based public surface.
sdk/search/azure-search-documents/azure/search/init.py Simplifies namespace package init and adds typing ignore.
sdk/search/azure-search-documents/azure/init.py Simplifies namespace package init and adds typing ignore.
sdk/search/azure-search-documents/assets.json Updates asset tag pointer for the package.
sdk/search/azure-search-documents/_metadata.json Adds metadata recording the API version used.
sdk/search/azure-search-documents/README.md Updates sample code for SearchFieldDataType enum member casing.
sdk/search/azure-search-documents/MANIFEST.in Reorders includes and ensures py.typed inclusion.

@xiangyan99 xiangyan99 changed the title Search pure tsp 2025 11 pre Search tsp migration 2025-11-01-preview Feb 6, 2026
@xiangyan99 xiangyan99 merged commit e20b941 into main Feb 6, 2026
21 checks passed
@xiangyan99 xiangyan99 deleted the search_pure_tsp_2025-11-pre branch February 6, 2026 18:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants