Repository navigation
Search: add 2026-11-01-preview support - #50960
Yangyang Lu (yangylu91) wants to merge 21 commits into
Conversation
|
Azure Pipelines: Successfully started running 1 pipeline(s). 34 pipeline(s) were filtered out due to trigger conditions. There may be pipelines that require an authorized user to comment /azp run to run. |
Alan Zimmer (alzimmermsft)
left a comment
There was a problem hiding this comment.
Need to update the field builder annotations with the newly added SearchField features.
|
Updated per the November spec in Azure/azure-rest-api-specs#47300:
Focused tests, static checks, and GA |
8d63221 to
75843ad
Compare
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Preserve underlying test exception diagnostics and add focused regressions. Regenerate model documentation from spec b41ba04c0219f6622b7f5214fc020f90bad339ae without changing the SDK version or recordings. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Complete BasicField annotations and FieldBuilder mappings for sensitivity label IDs/names, source document IDs, SharePoint site URLs, and permission filters. Add serialization and default-value regression coverage. Remove the August preview service version through customization and regenerate at the unchanged spec pin b41ba04c0219f6622b7f5214fc020f90bad339ae, retaining supported GA versions and the November preview. Clarify the spec-defined Blob and Indexed SharePoint queryHints/queryHintOverrides removals and retained Search Index support in the changelog. Validation: package, Checkstyle, SpotBugs, Spotless, Revapi against GA 12.0.3, and local consumer checks passed. Focused tests: 41 passed, 2 existing skips. Full playback CI remains blocked by recording mismatches; no live tests run. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Deprecate BasicField.isSensitivityLabel() and document its existing no-op behavior and the distinct ID/name replacements. Preserve its signature, BooleanHelper.NULL default, and runtime behavior; add a changelog note. Correct the Search package skill and both references to retain supported GA versions and only the latest preview, removing obsolete previews through customization. Keep the existing latest-preview regression test unchanged. Validation: package/Javadoc, Checkstyle, SpotBugs, Spotless, Revapi against GA 12.0.3, and local GA binary/public API consumer checks passed. Focused tests: 41 passed, 2 existing skips. Skill documentation passed the repository-documented manual fallback checks because vally is unavailable. No live tests run. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Preserve GA streaming, lookup, listing, authorization, and file APIs through the preview customizations. Add regression and opt-in feature coverage, update release metadata, and pin the published recording assets. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: dfb252ab-066b-422e-9bc7-164f2db3aa03
Remove the 14 supplemental live methods that were never exercised against a real service. Retain the verified offline regression tests and published recordings, and update the coverage inventory to remove stale live-test setup instructions. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: dfb252ab-066b-422e-9bc7-164f2db3aa03
Match DP10 GA credential selection in LIVE and RECORD, restore applicable offline GA regressions, and correct isolated-service and recording guidance. Customer-facing SDK code is unchanged. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: dfb252ab-066b-422e-9bc7-164f2db3aa03
Restore the validated preview implementation and fixtures after GA-main conflict resolution. Preserve main release history and additive GA samples, and align Search dependency baselines with main. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: dfb252ab-066b-422e-9bc7-164f2db3aa03
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: dfb252ab-066b-422e-9bc7-164f2db3aa03
75843ad to
95776c7
Compare
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: dfb252ab-066b-422e-9bc7-164f2db3aa03
There was a problem hiding this comment.
🟡 Changes recommended
The samples use an invalid explain-stage selector and omit an asynchronous completion wait, risking a rejected request and termination before any indexers are listed.
2 open issues
What changed in this PR
Adds the November 2026 preview API to azure-search-documents, extending graph, vector, agentic search, and knowledge retrieval capabilities while retaining supported GA service versions.
Changes:
- Adds preview models, response metadata, indexer configuration, and field-builder mappings.
- Updates samples and tests for preview behavior, authorization forwarding, and GA compatibility.
- Pins the specification and recording assets, documents release changes, and updates regeneration guidance.
Paths are relative to sdk/search/azure-search-documents/.
| File | Description |
|---|---|
tsp-location.yaml |
Pins the finalized preview specification. |
src/test/java/com/azure/search/documents/TestHelpersTests.java |
Tests unexpected-exception diagnostics. |
src/test/java/com/azure/search/documents/TestHelpers.java |
Includes actual exceptions in assertion messages. |
src/test/java/com/azure/search/documents/SearchTestBase.java |
Updates configuration and removes playback normalization. |
src/test/java/com/azure/search/documents/knowledgebases/KnowledgeBaseRetrievalStreamTests.java |
Tests dual authorization headers and preview requests. |
src/test/java/com/azure/search/documents/indexes/SynonymMapManagementTests.java |
Uses typed listing parameters in pagination tests. |
src/test/java/com/azure/search/documents/indexes/SkillsetManagementTests.java |
Changes Content Understanding test account selection. |
src/test/java/com/azure/search/documents/indexes/SearchServiceTests.java |
Tests knowledge-resource usage counters. |
src/test/java/com/azure/search/documents/indexes/SearchListingTests.java |
Updates the preview continuation URL. |
src/test/java/com/azure/search/documents/GetDocumentOptionsTests.java |
Adds GA and preview lookup coverage. |
src/samples/java/com/azure/search/documents/SynonymMapsCreateExample.java |
Removes the additional listing demonstration. |
src/samples/java/com/azure/search/documents/SearchOptionsExample.java |
Removes the more-like-this demonstration. |
src/samples/java/com/azure/search/documents/PreviewSearchSamples.java |
Adds graph, vector, filter-hint, and scoring examples. |
src/samples/java/com/azure/search/documents/KnowledgeServiceStatsPreviewExample.java |
Demonstrates knowledge counters and vector limits. |
src/samples/java/com/azure/search/documents/KnowledgeBaseRetrievalStreamExample.java |
Removes separate citation URL printing. |
src/samples/java/com/azure/search/documents/indexes/ListIndexesExample.java |
Removes supplemental listing and alias demonstrations. |
src/samples/java/com/azure/search/documents/indexes/ListIndexersExample.java |
Simplifies asynchronous indexer listing. |
src/samples/java/com/azure/search/documents/indexes/CreateSkillsetExample.java |
Removes the Content Understanding demonstration. |
src/samples/java/com/azure/search/documents/IndexAndServiceStatisticsExample.java |
Removes supplemental runtime and summary output. |
src/main/java/module-info.java |
Reorders existing package-opening declarations. |
src/main/java/com/azure/search/documents/SearchServiceVersion.java |
Adds and defaults to the November preview. |
src/main/java/com/azure/search/documents/models/VectorThresholdKind.java |
Defines vector threshold kinds. |
src/main/java/com/azure/search/documents/models/VectorSearchTopicGraphKind.java |
Defines topic graph retrieval modes. |
src/main/java/com/azure/search/documents/models/VectorQueryKind.java |
Adds image query kinds. |
src/main/java/com/azure/search/documents/models/VectorFilterMode.java |
Adds strict post-filtering. |
src/main/java/com/azure/search/documents/models/SemanticQueryRewritesResultType.java |
Defines query rewrite result metadata. |
src/main/java/com/azure/search/documents/models/SemanticFieldState.java |
Defines semantic field usage states. |
src/main/java/com/azure/search/documents/models/SearchPagedResponse.java |
Exposes diagnostics and rewrite results. |
src/main/java/com/azure/search/documents/models/SearchDocumentsResult.java |
Deserializes diagnostics and rewrite results. |
src/main/java/com/azure/search/documents/models/QueryType.java |
Adds agentic query mode. |
src/main/java/com/azure/search/documents/models/QuerySpellerType.java |
Defines spelling correction modes. |
src/main/java/com/azure/search/documents/models/QueryRewritesType.java |
Defines query rewriting modes. |
src/main/java/com/azure/search/documents/models/QueryDebugMode.java |
Adds agentic diagnostics selection. |
src/main/java/com/azure/search/documents/models/OperationState.java |
Defines operation lifecycle states. |
src/main/java/com/azure/search/documents/models/NoneVectorQueryTopicGraph.java |
Models disabled topic graph retrieval. |
src/main/java/com/azure/search/documents/models/HybridCountAndFacetMode.java |
Defines hybrid count and facet scope. |
src/main/java/com/azure/search/documents/models/GraphQueryProvenanceKind.java |
Defines graph evidence retrieval modes. |
src/main/java/com/azure/search/documents/models/GraphQueryProvenanceDocument.java |
Models hydrated source-document fields. |
src/main/java/com/azure/search/documents/models/GraphQueryExplainStage.java |
Defines graph query explanation stages. |
src/main/java/com/azure/search/documents/models/GraphQueryExplain.java |
Models query-plan diagnostic payloads. |
src/main/java/com/azure/search/documents/models/GraphQueryExecutionMode.java |
Defines execution and planning-only modes. |
src/main/java/com/azure/search/documents/models/GraphQueryEvidenceCountRelation.java |
Describes evidence count completeness. |
src/main/java/com/azure/search/documents/models/GraphQueryDiagnosticSeverity.java |
Defines graph diagnostic severities. |
src/main/java/com/azure/search/documents/models/GraphQueryDiagnosticPhase.java |
Defines graph diagnostic phases. |
src/main/java/com/azure/search/documents/models/DocumentDebugInfo.java |
Adds semantic and inner-hit diagnostics. |
src/main/java/com/azure/search/documents/models/AgenticSearchTerminationReason.java |
Defines agentic processing termination reasons. |
src/main/java/com/azure/search/documents/knowledgebases/models/SynchronizationState.java |
Exposes graph extraction statistics. |
src/main/java/com/azure/search/documents/knowledgebases/models/KnowledgeSourceVectorizer.java |
Recognizes OpenAI-compatible vectorizers. |
src/main/java/com/azure/search/documents/knowledgebases/models/KnowledgeSourceGraphProvenanceKind.java |
Defines graph source-document hydration modes. |
src/main/java/com/azure/search/documents/knowledgebases/models/KnowledgeRetrievalReasoningEffortKind.java |
Adds automatic reasoning effort. |
src/main/java/com/azure/search/documents/knowledgebases/models/KnowledgeRetrievalReasoningEffort.java |
Deserializes automatic reasoning settings. |
src/main/java/com/azure/search/documents/knowledgebases/models/KnowledgeBaseWorkIQActivityArguments.java |
Models WorkIQ retrieval arguments. |
src/main/java/com/azure/search/documents/knowledgebases/models/KnowledgeBaseWebActivityRecord.java |
Adds image-serving statistics. |
src/main/java/com/azure/search/documents/knowledgebases/models/KnowledgeBaseSearchIndexReference.java |
Adds sensitivity-label metadata. |
src/main/java/com/azure/search/documents/knowledgebases/models/KnowledgeBaseSearchIndexActivityArguments.java |
Exposes the executed query type. |
src/main/java/com/azure/search/documents/knowledgebases/models/KnowledgeBaseRetrievalStreamEvent.java |
Adds a generated-code header comment. |
src/main/java/com/azure/search/documents/knowledgebases/models/KnowledgeBaseRetrievalStartedStreamEvent.java |
Adds a generated-code header comment. |
src/main/java/com/azure/search/documents/knowledgebases/models/KnowledgeBaseRetrievalResult.java |
Adds overall response sensitivity metadata. |
src/main/java/com/azure/search/documents/knowledgebases/models/KnowledgeBaseResponseCompletedStreamEvent.java |
Adds a generated-code header comment. |
src/main/java/com/azure/search/documents/knowledgebases/models/KnowledgeBaseReferenceType.java |
Adds preview knowledge reference kinds. |
src/main/java/com/azure/search/documents/knowledgebases/models/KnowledgeBaseReferencesCompletedStreamEvent.java |
Adds a generated-code header comment. |
src/main/java/com/azure/search/documents/knowledgebases/models/KnowledgeBaseReference.java |
Deserializes new reference subtypes. |
src/main/java/com/azure/search/documents/knowledgebases/models/KnowledgeBaseIndexedSqlActivityRecord.java |
Adds image-serving statistics. |
src/main/java/com/azure/search/documents/knowledgebases/models/KnowledgeBaseIndexedSharePointReference.java |
Adds sensitivity-label metadata. |
src/main/java/com/azure/search/documents/knowledgebases/models/KnowledgeBaseIndexedSharePointActivityRecord.java |
Adds image-serving statistics. |
src/main/java/com/azure/search/documents/knowledgebases/models/KnowledgeBaseIndexedOneLakeReference.java |
Adds sensitivity-label metadata. |
src/main/java/com/azure/search/documents/knowledgebases/models/KnowledgeBaseIndexedOneLakeActivityRecord.java |
Adds image-serving statistics. |
src/main/java/com/azure/search/documents/knowledgebases/models/KnowledgeBaseFileActivityRecord.java |
Adds image-serving statistics. |
src/main/java/com/azure/search/documents/knowledgebases/models/KnowledgeBaseFabricOntologyActivityArguments.java |
Models Fabric Ontology retrieval arguments. |
src/main/java/com/azure/search/documents/knowledgebases/models/KnowledgeBaseFabricDataAgentActivityArguments.java |
Models Fabric Data Agent retrieval arguments. |
src/main/java/com/azure/search/documents/knowledgebases/models/KnowledgeBaseErrorStreamEvent.java |
Adds a generated-code header comment. |
src/main/java/com/azure/search/documents/knowledgebases/models/KnowledgeBaseAzureBlobReference.java |
Adds sensitivity-label metadata. |
src/main/java/com/azure/search/documents/knowledgebases/models/KnowledgeBaseAzureBlobActivityRecord.java |
Adds image-serving statistics. |
src/main/java/com/azure/search/documents/knowledgebases/models/KnowledgeBaseAnswerCompletedStreamEvent.java |
Adds a generated-code header comment. |
src/main/java/com/azure/search/documents/knowledgebases/models/KnowledgeBaseActivityStartedStreamEvent.java |
Adds a generated-code header comment. |
src/main/java/com/azure/search/documents/knowledgebases/models/KnowledgeBaseActivityRecordType.java |
Adds preview retrieval activity kinds. |
src/main/java/com/azure/search/documents/knowledgebases/models/KnowledgeBaseActivityRecord.java |
Deserializes new retrieval activity subtypes. |
src/main/java/com/azure/search/documents/knowledgebases/models/KnowledgeBaseActivityCompletedStreamEvent.java |
Adds a generated-code header comment. |
src/main/java/com/azure/search/documents/knowledgebases/models/CompletedSynchronizationState.java |
Exposes completed graph extraction statistics. |
src/main/java/com/azure/search/documents/indexes/models/WebKnowledgeSource.java |
Adds result-processing configuration. |
src/main/java/com/azure/search/documents/indexes/models/VectorSearchVectorizerKind.java |
Adds the OpenAI-compatible vectorizer kind. |
src/main/java/com/azure/search/documents/indexes/models/VectorSearchVectorizer.java |
Recognizes additional vectorizer subtypes. |
src/main/java/com/azure/search/documents/indexes/models/VectorSearch.java |
Adds topic graph profile configuration. |
src/main/java/com/azure/search/documents/indexes/models/SplitSkillUnit.java |
Defines character and token splitting units. |
src/main/java/com/azure/search/documents/indexes/models/SplitSkillEncoderModelName.java |
Defines splitting tokenizer models. |
src/main/java/com/azure/search/documents/indexes/models/SemanticConfiguration.java |
Adds model flighting opt-in. |
src/main/java/com/azure/search/documents/indexes/models/SearchServiceLimits.java |
Exposes the per-index vector-size limit. |
src/main/java/com/azure/search/documents/indexes/models/SearchIndexKnowledgeSourceBoostKind.java |
Defines knowledge-source boost hint kinds. |
src/main/java/com/azure/search/documents/indexes/models/SearchIndexKnowledgeSource.java |
Adds result-processing configuration. |
src/main/java/com/azure/search/documents/indexes/models/SearchIndexerStatus.java |
Exposes current execution state. |
src/main/java/com/azure/search/documents/indexes/models/SearchIndexerSkill.java |
Recognizes additional skill subtypes. |
src/main/java/com/azure/search/documents/indexes/models/SearchIndexerKnowledgeStore.java |
Adds knowledge-store parameters. |
src/main/java/com/azure/search/documents/indexes/models/SearchIndexerDataSourceConnection.java |
Exposes data-source subtype metadata. |
src/main/java/com/azure/search/documents/indexes/models/SearchIndexer.java |
Adds enrichment cache configuration. |
src/main/java/com/azure/search/documents/indexes/models/RandomScoringParameters.java |
Models the random-scoring seed parameter. |
src/main/java/com/azure/search/documents/indexes/models/PermissionFilter.java |
Adds OneLake permission filter kinds. |
src/main/java/com/azure/search/documents/indexes/models/McpServerOutputParsingKind.java |
Defines MCP output parsing modes. |
src/main/java/com/azure/search/documents/indexes/models/McpServerNoneOutputParsing.java |
Models unparsed MCP output. |
src/main/java/com/azure/search/documents/indexes/models/McpServerAutoOutputParsing.java |
Models automatic MCP output parsing. |
src/main/java/com/azure/search/documents/indexes/models/McpServerAuthenticationKind.java |
Defines MCP authentication kinds. |
src/main/java/com/azure/search/documents/indexes/models/KnowledgeSourceResultsProcessing.java |
Defines reranking and order-preserving modes. |
src/main/java/com/azure/search/documents/indexes/models/KnowledgeSourceKind.java |
Adds preview knowledge-source kinds. |
src/main/java/com/azure/search/documents/indexes/models/KnowledgeSourceIngestionPermissionOption.java |
Adds sensitivity-label and OneLake ingestion options. |
src/main/java/com/azure/search/documents/indexes/models/KnowledgeSourceGraphOntologySourceKind.java |
Defines inline graph ontology sources. |
src/main/java/com/azure/search/documents/indexes/models/KnowledgeSourceGraphGroundingSourceKind.java |
Defines search-index graph grounding sources. |
src/main/java/com/azure/search/documents/indexes/models/KnowledgeBaseModelKind.java |
Adds OpenAI-compatible and Retriever model kinds. |
src/main/java/com/azure/search/documents/indexes/models/KnowledgeBaseModel.java |
Deserializes additional model subtypes. |
src/main/java/com/azure/search/documents/indexes/models/KnowledgeBaseMicrosoftRetriever1Model.java |
Models Microsoft Retriever 1 configuration. |
src/main/java/com/azure/search/documents/indexes/models/IndexingMode.java |
Defines indexer execution modes. |
src/main/java/com/azure/search/documents/indexes/models/IndexerPermissionOption.java |
Adds OneLake permission ingestion options. |
src/main/java/com/azure/search/documents/indexes/models/IndexerExecutionStatusDetail.java |
Defines reset and resync status details. |
src/main/java/com/azure/search/documents/indexes/models/IndexerExecutionResult.java |
Exposes execution mode and status details. |
src/main/java/com/azure/search/documents/indexes/models/IndexedSqlKnowledgeSource.java |
Adds result-processing configuration. |
src/main/java/com/azure/search/documents/indexes/models/IndexedSharePointKnowledgeSource.java |
Adds result-processing configuration. |
src/main/java/com/azure/search/documents/indexes/models/IndexedOneLakeKnowledgeSource.java |
Adds result-processing configuration. |
src/main/java/com/azure/search/documents/indexes/models/GraphProfileKind.java |
Defines edge-list graph storage. |
src/main/java/com/azure/search/documents/indexes/models/FileKnowledgeSource.java |
Adds result-processing configuration. |
src/main/java/com/azure/search/documents/indexes/models/AzureOpenAIModelName.java |
Expands model-name constants. |
src/main/java/com/azure/search/documents/indexes/models/AzureBlobKnowledgeSource.java |
Adds result-processing configuration. |
src/main/java/com/azure/search/documents/implementation/FieldBuilder.java |
Forwards security and topic graph annotations. |
cspell.json |
Adds package-specific spelling configuration. |
CHANGELOG.md |
Documents preview features and compatibility changes. |
assets.json |
Pins updated test recordings. |
.github/skills/azure-search-documents/SKILL.md |
Updates service-version regeneration guidance. |
.github/skills/azure-search-documents/references/customizations.md |
Documents GA retention and obsolete-preview removal. |
.github/skills/azure-search-documents/references/architecture.md |
Clarifies supported service-version policy. |
Review effort: Balanced
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: dfb252ab-066b-422e-9bc7-164f2db3aa03
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: dfb252ab-066b-422e-9bc7-164f2db3aa03
Correct update and delete calls, including cleanup. Exercise the actual sample against fake HTTP for successful execution and cleanup after an update failure. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: dfb252ab-066b-422e-9bc7-164f2db3aa03
Use an existing knowledge base configured by KNOWLEDGE_BASE_NAME instead of upserting and deleting a fixed-name resource. Add offline sample tests for successful and failed retrieval with no resource mutations, and document the required configuration. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: dfb252ab-066b-422e-9bc7-164f2db3aa03
Validate polling responses after the original client pipeline has applied its policies. Buffer failed response bodies before closing transport responses, preserving status, headers, and error details without replacing azure-core pollers. Wire only preview file ingestion through a regeneration-safe customization and regenerate locally. Add sync/async error, empty-body, response-cleanup, retry, authentication, and context regressions. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: dfb252ab-066b-422e-9bc7-164f2db3aa03
|
|
||
| // SearchResourceEncryptionKey has keyName and vaultUrl as required (final) fields, but when | ||
| // isServiceLevelKey is true, they are not needed. This adds a no-arg constructor and makes those fields non-final. | ||
| private static void addNoArgConstructorToEncryptionKey(ClassCustomization customization) { |
There was a problem hiding this comment.
I recall there were discussions to fix this in a future release but it seems to still not have gotten fixed.. Yangyang Lu (@yangylu91) do you know whether this customization is still needed?
Restore sample coverage and the explicit customization constructor, simplify stream model replacement without changing generated APIs, and move the task-specific coverage ledger out of the package. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: dfb252ab-066b-422e-9bc7-164f2db3aa03
Explicitly retain 2026-10-01 in the guarded missing-version fallback. Native generated output remains unchanged because the existing enum entry is detected. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: dfb252ab-066b-422e-9bc7-164f2db3aa03
Keep generated sync and async graph convenience methods, remove the extra typed HTTP-response wrappers and their unused helpers, and update API regression coverage and documentation. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: dfb252ab-066b-422e-9bc7-164f2db3aa03

Description
Summary
Add Azure AI Search data-plane API
2026-11-01-previewsupport tocom.azure:azure-search-documents12.3.0-beta.1 (Unreleased), generated from the finalizedAzure/azure-rest-api-specs#47300
commit
b41ba04c0219f6622b7f5214fc020f90bad339ae, as pinned intsp-location.yaml.Key changes
cache configuration, updated knowledge sources/models, and native file-ingestion/replacement LROs.
adapters, scoring compatibility and file-parameter ordering. Preserve supported GA service versions.
assets.jsontojava/search/azure-search-documents_6950366571(asset commit
6950366571d9f0a3e3c2841edb33f07030012ee0).Restore applicable GA behavioral and stream-sample regressions, and correct isolated-service/recording guidance.
This follow-up changes test code/documentation only, not the SDK's customer-facing code.
08745e8f7d9c1d62d76c139853aba0320176d263, resolving GA/preview conflictswhile preserving the validated preview production/customization sources and recording/spec pins.
Retain main's GA release history and additional samples, and align dependency versions with main.
Validation
Post-rebase local validation on November 10, with JDK 21/Maven and
SEARCH_*variables removed:Passed: 1,311 tests total: 1,193 passed, 118 existing skips, zero failures/errors.
Strict Revapi against the exact October GA 12.2.0 artifact passed without semantic-version masking.
The local comparison artifact was built from GA commit
c0866c2b2364a855cda5e78e30f4fed8af795415;it is not a public Maven coordinate. Checkstyle reported zero violations; enabled SpotBugs reported zero
bugs/errors; scoped Spotless and snippet verification passed. Test/sample sources compiled for Java 8 and Java 21.
Main subsequently advanced with the Search release-version update in #51201. The final rebase preserves its
12.2.0released dependency fallback and historical changelog ordering. Those are the only differences fromthe tested integration snapshot; SDK/test/sample sources, POMs, customizations and recording/spec pins are unchanged.
An additional exact-GA comparison with both semantic-version masking and difference suppressions disabled:
Passed: no DP10 GA API incompatibilities reported.
Dependent performance-module compilation also passed for Java 8 and Java 21:
Passed: both Search SDK and performance modules compiled. No performance tests were run.
Initially blocked by uncached internal performance artifacts, this was resolved by building/installing the
repository dependency and parent locally, without changing feed credentials or configuration:
Passed: both local dependency-setup commands; performance-core tests were not run.
Before the rebase, the focused restored-test command also passed:
Passed: 37 tests, zero skips/failures/errors.
Before the unrun live tests were removed, the full RECORD and clean-default PLAYBACK runs each produced
1,157 passes and 132 skips with zero failures/errors. The removed methods accounted for 14 of those historical
skips. Existing LIVE retrieval suites previously produced 99 passes and 14 existing skips after backend routing
was corrected. Asset restoration reproduced all 2,000 published recording JSON files byte-for-byte.
These historical real-service runs do not establish live validation of every new preview feature.
Compatibility and known limitations
Existing GA service-version constants remain available. The preview intentionally defaults to
2026-11-01-preview; callers that need the GA REST version can setSearchServiceVersion.V2026_10_01.ACL enforcement or downstream provider routing. Remaining feature-specific live-validation gaps are summarized below and tracked in the release work item.
use an isolated service; their pre-existing cleanup can delete unrelated knowledge resources.
Local review follow-up (not yet pushed)
November 13 review changes are applied and validated locally, but have not been committed or pushed:
replaceFile, preserving generated headers and public behavior.Full package
clean verify, JPMS compilation, strict Revapi against the exact October GA artifact with semantic-version masking and difference suppressions disabled, Checkstyle, enabled SpotBugs, scoped Spotless, and snippet verification passed.The package suite ran 1,332 cases: 1,214 passed, 118 existing skips, zero failures/errors. The untracked handwritten
FileIngestionTestsclass was explicitly excluded and remains local-only.The build compiled Java 21 module-path sources, Java 8 library/test sources, and the Java 11 module descriptor. The packaged JAR's module descriptor was verified.
Repeated pinned-emitter generation and formatting left all 641 production source/resource files unchanged after line-ending normalization. Production Java ASTs remain unchanged relative to the published PR.
The initial full-suite attempt was blocked by the test-proxy subprocess not finding Git; retrying with Git added only to the Maven process PATH resolved it. No live Azure calls or recording updates were made for this follow-up.
Remaining feature-specific live validation
Temporary text-only native SDK checks on the isolated WECUS service passed synchronous/asynchronous ingestion and replacement. Separate direct-adapter HTTP 404 checks preserved status and repeat-readable error bodies; they did not induce an error inside a running native poller. These checks are not committed live tests and do not establish model-backed ingestion, storage connectivity, or the scenarios below.
PreviewApiTestsround trips discriminators;FieldBuilderTestscoverstopicGraphProfile;PreviewFeatureContractTestschecks query modes, allowed fields and stored KS defaultsPreviewFeatureContractTestschecks graph extraction/cache requests and ontology/triple statistics in status responsesPreviewApiTestschecks graph headers/options, diagnostics and rejection bodies;PreviewFeatureContractTestschecks graph overrides and mixed activity typesSearchUtilsTestsforwards agentic options; SSE tests deserialize reasoning;PreviewFeatureContractTestschecks renamed usage fields and Microsoft Retriever requestsFileIngestionPollingTestschecks sync/async polling, errors, operation GET/list and continuationFieldBuilderTestsmapsoneLakeParentFolders;PreviewFeatureContractTestschecks security metadata and data-source serializationPreviewApiTestschecks discriminator and classic-scoring compatibility;PreviewFeatureContractTestschecks profile and seed forwardingPreviewFeatureContractTestschecks tool configuration and singular request-time selectionPreviewFeatureContractTestschecks KB authentication, ingestion models, vectorizers and exact skill URI forwardingPreviewApiTestsandPreviewFeatureContractTestscheck facet-backed configuration serializationRelease Plan Details
All SDK Contribution checklist:
General Guidelines and Best Practices
Testing Guidelines