Skip to content

Commit 93db797

Browse files
committed
update
1 parent 6281bf8 commit 93db797

33 files changed

+1172
-3148
lines changed

sdk/search/azure-search-documents/CHANGELOG.md

Lines changed: 20 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Release History
22

3-
## 11.6.0 (2025-10-07)
3+
## 11.6.0 (2025-10-10)
44

55
### Features Added
66

@@ -28,6 +28,25 @@
2828
- Added `azure.search.documents.indexes.SearchIndex.normalizer`.
2929
- Added `azure.search.documents.indexes.SearchIndexerKnowledgeStoreParameters`.
3030
- Added `azure.search.documents.indexes.VectorSearchCompressionRescoreStorageMethod`.
31+
- Support for running `VectorQuery`s against sub-fields of complex fields.
32+
- Added support for `2025-09-01` service version.
33+
- Support for reranker boosted scores in search results and the ability to sort results on either reranker or reranker
34+
boosted scores in `SemanticConfiguration.rankingOrder`.
35+
- Support for `VectorSearchCompression.RescoringOptions` to configure how vector compression handles the original
36+
vector when indexing and how vectors are used during rescoring.
37+
- Added `SearchIndex.description` to provide a textual description of the index.
38+
- Support for `LexicalNormalizer` when defining `SearchIndex`, `SimpleField`, and `SearchableField` and the ability to
39+
use it when analyzing text with `SearchIndexClient.analyzeText` and `SearchIndexAsyncClient.analyzeText`.
40+
- Support `DocumentIntelligenceLayoutSkill` skillset skill and `OneLake` `SearchIndexerDataSourceConnection` data source.
41+
- Support for `QueryDebugMode` in searching to retrieve detailed information about search processing. Only `vector` is
42+
supported for `QueryDebugMode`.
43+
44+
### Breaking Changes
45+
46+
- `VectorSearchCompression.rerankWithOriginalVectors` and `VectorSearchCompression.defaultOversampling` don't work with
47+
`2025-09-01` and were replaced by `VectorSearchCompression.RescoringOptions.enabledRescoring` and
48+
`VectorSearchCompression.RescoringOptions.defaultOversampling`. If using `2024-07-01` continue using the old properties,
49+
otherwise if using `2025-09-01` use the new properties in `RescoringOptions`.
3150

3251
### Other Changes
3352

sdk/search/azure-search-documents/azure/search/documents/indexes/_generated/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# coding=utf-8
22
# --------------------------------------------------------------------------
3-
# Code generated by Microsoft (R) AutoRest Code Generator (autorest: 3.9.5, generator: @autorest/[email protected].2)
3+
# Code generated by Microsoft (R) AutoRest Code Generator (autorest: 3.9.5, generator: @autorest/[email protected].3)
44
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
55
# --------------------------------------------------------------------------
66
# pylint: disable=wrong-import-position

sdk/search/azure-search-documents/azure/search/documents/indexes/_generated/_configuration.py

Lines changed: 7 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# coding=utf-8
22
# --------------------------------------------------------------------------
3-
# Code generated by Microsoft (R) AutoRest Code Generator (autorest: 3.9.5, generator: @autorest/[email protected].2)
3+
# Code generated by Microsoft (R) AutoRest Code Generator (autorest: 3.9.5, generator: @autorest/[email protected].3)
44
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
55
# --------------------------------------------------------------------------
66

@@ -37,24 +37,12 @@ def __init__(self, endpoint: str, **kwargs: Any) -> None:
3737
self._configure(**kwargs)
3838

3939
def _configure(self, **kwargs: Any) -> None:
40-
self.user_agent_policy = kwargs.get(
41-
"user_agent_policy"
42-
) or policies.UserAgentPolicy(**kwargs)
43-
self.headers_policy = kwargs.get("headers_policy") or policies.HeadersPolicy(
44-
**kwargs
45-
)
40+
self.user_agent_policy = kwargs.get("user_agent_policy") or policies.UserAgentPolicy(**kwargs)
41+
self.headers_policy = kwargs.get("headers_policy") or policies.HeadersPolicy(**kwargs)
4642
self.proxy_policy = kwargs.get("proxy_policy") or policies.ProxyPolicy(**kwargs)
47-
self.logging_policy = kwargs.get(
48-
"logging_policy"
49-
) or policies.NetworkTraceLoggingPolicy(**kwargs)
50-
self.http_logging_policy = kwargs.get(
51-
"http_logging_policy"
52-
) or policies.HttpLoggingPolicy(**kwargs)
53-
self.custom_hook_policy = kwargs.get(
54-
"custom_hook_policy"
55-
) or policies.CustomHookPolicy(**kwargs)
56-
self.redirect_policy = kwargs.get("redirect_policy") or policies.RedirectPolicy(
57-
**kwargs
58-
)
43+
self.logging_policy = kwargs.get("logging_policy") or policies.NetworkTraceLoggingPolicy(**kwargs)
44+
self.http_logging_policy = kwargs.get("http_logging_policy") or policies.HttpLoggingPolicy(**kwargs)
45+
self.custom_hook_policy = kwargs.get("custom_hook_policy") or policies.CustomHookPolicy(**kwargs)
46+
self.redirect_policy = kwargs.get("redirect_policy") or policies.RedirectPolicy(**kwargs)
5947
self.retry_policy = kwargs.get("retry_policy") or policies.RetryPolicy(**kwargs)
6048
self.authentication_policy = kwargs.get("authentication_policy")

sdk/search/azure-search-documents/azure/search/documents/indexes/_generated/_patch.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,7 @@
99
"""
1010

1111

12-
__all__: list[str] = (
13-
[]
14-
) # Add all objects you want publicly available to users at this package level
12+
__all__: list[str] = [] # Add all objects you want publicly available to users at this package level
1513

1614

1715
def patch_sdk():

sdk/search/azure-search-documents/azure/search/documents/indexes/_generated/_search_service_client.py

Lines changed: 13 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# coding=utf-8
22
# --------------------------------------------------------------------------
3-
# Code generated by Microsoft (R) AutoRest Code Generator (autorest: 3.9.5, generator: @autorest/[email protected].2)
3+
# Code generated by Microsoft (R) AutoRest Code Generator (autorest: 3.9.5, generator: @autorest/[email protected].3)
44
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
55
# --------------------------------------------------------------------------
66

@@ -66,42 +66,22 @@ def __init__( # pylint: disable=missing-client-constructor-parameter-credential
6666
self._config.custom_hook_policy,
6767
self._config.logging_policy,
6868
policies.DistributedTracingPolicy(**kwargs),
69-
(
70-
policies.SensitiveHeaderCleanupPolicy(**kwargs)
71-
if self._config.redirect_policy
72-
else None
73-
),
69+
policies.SensitiveHeaderCleanupPolicy(**kwargs) if self._config.redirect_policy else None,
7470
self._config.http_logging_policy,
7571
]
76-
self._client: PipelineClient = PipelineClient(
77-
base_url=_endpoint, policies=_policies, **kwargs
78-
)
72+
self._client: PipelineClient = PipelineClient(base_url=_endpoint, policies=_policies, **kwargs)
7973

80-
client_models = {
81-
k: v for k, v in _models.__dict__.items() if isinstance(v, type)
82-
}
74+
client_models = {k: v for k, v in _models.__dict__.items() if isinstance(v, type)}
8375
self._serialize = Serializer(client_models)
8476
self._deserialize = Deserializer(client_models)
8577
self._serialize.client_side_validation = False
86-
self.data_sources = DataSourcesOperations(
87-
self._client, self._config, self._serialize, self._deserialize
88-
)
89-
self.indexers = IndexersOperations(
90-
self._client, self._config, self._serialize, self._deserialize
91-
)
92-
self.skillsets = SkillsetsOperations(
93-
self._client, self._config, self._serialize, self._deserialize
94-
)
95-
self.synonym_maps = SynonymMapsOperations(
96-
self._client, self._config, self._serialize, self._deserialize
97-
)
98-
self.indexes = IndexesOperations(
99-
self._client, self._config, self._serialize, self._deserialize
100-
)
101-
102-
def _send_request(
103-
self, request: HttpRequest, *, stream: bool = False, **kwargs: Any
104-
) -> HttpResponse:
78+
self.data_sources = DataSourcesOperations(self._client, self._config, self._serialize, self._deserialize)
79+
self.indexers = IndexersOperations(self._client, self._config, self._serialize, self._deserialize)
80+
self.skillsets = SkillsetsOperations(self._client, self._config, self._serialize, self._deserialize)
81+
self.synonym_maps = SynonymMapsOperations(self._client, self._config, self._serialize, self._deserialize)
82+
self.indexes = IndexesOperations(self._client, self._config, self._serialize, self._deserialize)
83+
84+
def _send_request(self, request: HttpRequest, *, stream: bool = False, **kwargs: Any) -> HttpResponse:
10585
"""Runs the network request through the client's chained policies.
10686
10787
>>> from azure.core.rest import HttpRequest
@@ -121,14 +101,10 @@ def _send_request(
121101

122102
request_copy = deepcopy(request)
123103
path_format_arguments = {
124-
"endpoint": self._serialize.url(
125-
"self._config.endpoint", self._config.endpoint, "str", skip_quote=True
126-
),
104+
"endpoint": self._serialize.url("self._config.endpoint", self._config.endpoint, "str", skip_quote=True),
127105
}
128106

129-
request_copy.url = self._client.format_url(
130-
request_copy.url, **path_format_arguments
131-
)
107+
request_copy.url = self._client.format_url(request_copy.url, **path_format_arguments)
132108
return self._client.send_request(request_copy, stream=stream, **kwargs) # type: ignore
133109

134110
def close(self) -> None:
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
# --------------------------------------------------------------------------
2-
# Code generated by Microsoft (R) AutoRest Code Generator (autorest: 3.9.5, generator: @autorest/[email protected].2)
2+
# Code generated by Microsoft (R) AutoRest Code Generator (autorest: 3.9.5, generator: @autorest/[email protected].3)
33
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
44
# --------------------------------------------------------------------------

0 commit comments

Comments
 (0)