Skip to content

Commit 079701f

Browse files
authored
Update main with branch release of azure-search-documents 11.8.0 (#46985)
* Update main with branch release of azure-search-documents 11.8.0 * Fix linting
1 parent 0793e0b commit 079701f

File tree

15 files changed

+152
-25
lines changed

15 files changed

+152
-25
lines changed

eng/versioning/version_client.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ com.azure:azure-monitor-query-perf;1.0.0-beta.1;1.0.0-beta.1
171171
com.azure:azure-openrewrite;1.0.0-beta.1;1.0.0-beta.1
172172
com.azure:azure-perf-test-parent;1.0.0-beta.1;1.0.0-beta.1
173173
com.azure:azure-quantum-jobs;1.0.0-beta.1;1.0.0-beta.2
174-
com.azure:azure-search-documents;11.7.10;11.8.0-beta.9
174+
com.azure:azure-search-documents;11.8.0;11.9.0-beta.1
175175
com.azure:azure-search-perf;1.0.0-beta.1;1.0.0-beta.1
176176
com.azure:azure-security-attestation;1.1.36;1.2.0-beta.1
177177
com.azure:azure-security-confidentialledger;1.0.32;1.1.0-beta.2

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

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

3-
## 11.8.0-beta.9 (Unreleased)
3+
## 11.9.0-beta.1 (Unreleased)
44

55
### Features Added
66

7+
- Added back all service preview features dropped in `2025-09-01` service version release.
8+
79
### Breaking Changes
810

11+
- Updated `RescoringOptions` to match what was changed in `11.8.0` release.
12+
- `isEnableRescoring` -> `isRescoringEnabled`
13+
- `setEnableRescoring` -> `setRescoringEnabled`
14+
- Changed `RankingOrder.RE_RANKER_SCORE` to `RankingOrder.RERANKER_SCORE`.
15+
- Changed `SearchOptions.getDebug` and `.setDebug` to `.getDebugMode` and `.setDebugMode`.
16+
- Default `SearchServiceVersion` changed from `2025_09_01` to `V2025_08_01_PREVIEW`.
17+
918
### Bugs Fixed
1019

20+
## 11.8.0 (2025-10-10)
21+
22+
### Features Added
23+
24+
- Added support for `2025-09-01` service version.
25+
- Support for reranker boosted scores in search results and the ability to sort results on either reranker or reranker
26+
boosted scores in `SemanticConfiguration.rankingOrder`.
27+
- Support for `VectorSearchCompression.RescoringOptions` to configure how vector compression handles the original
28+
vector when indexing and how vectors are used during rescoring.
29+
- Added `SearchIndex.description` to provide a textual description of the index.
30+
- Support for `LexicalNormalizer` when defining `SearchIndex`, `SimpleField`, and `SearchableField` and the ability to
31+
use it when analyzing text with `SearchIndexClient.analyzeText` and `SearchIndexAsyncClient.analyzeText`.
32+
- Support `DocumentIntelligenceLayoutSkill` skillset skill and `OneLake` `SearchIndexerDataSourceConnection` data source.
33+
- Support for `QueryDebugMode` in searching to retrieve detailed information about search processing. Only `vector` is
34+
supported for `QueryDebugMode`.
35+
36+
### Breaking Changes
37+
38+
- All features from `11.8.0-beta.x` versions that weren't GA'd in `2025-09-01` were removed.
39+
- `VectorSearchCompression.rerankWithOriginalVectors` and `VectorSearchCompression.defaultOversampling` don't work with
40+
`2025-09-01` and were replaced by `VectorSearchCompression.RescoringOptions.enabledRescoring` and
41+
`VectorSearchCompression.RescoringOptions.defaultOversampling`. If using `2024-07-01` continue using the old properties,
42+
otherwise if using `2025-09-01` use the new properties in `RescoringOptions`.
43+
44+
### Other Changes
45+
46+
- Upgraded `azure-core` from `1.56.1` to version `1.57.0`.
47+
- Upgraded `azure-core-http-netty` from `1.16.1` to version `1.16.2`.
48+
- Upgraded `azure-core-serializer-json-jackson` from `1.6.1` to version `1.6.2`.
49+
1150
## 11.7.10 (2025-09-25)
1251

1352
### Other Changes

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ add the direct dependency to your project as follows.
7575
<dependency>
7676
<groupId>com.azure</groupId>
7777
<artifactId>azure-search-documents</artifactId>
78-
<version>11.8.0-beta.8</version>
78+
<version>11.8.0</version>
7979
</dependency>
8080
```
8181
[//]: # ({x-version-update-end})

sdk/search/azure-search-documents/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616

1717
<groupId>com.azure</groupId>
1818
<artifactId>azure-search-documents</artifactId>
19-
<version>11.8.0-beta.9</version> <!-- {x-version-update;com.azure:azure-search-documents;current} -->
19+
<version>11.9.0-beta.1</version> <!-- {x-version-update;com.azure:azure-search-documents;current} -->
2020
<packaging>jar</packaging>
2121

2222
<properties>

sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/SearchAsyncClient.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1502,7 +1502,7 @@ static SearchRequest createSearchRequest(String searchText, SearchOptions option
15021502
.setTop(options.getTop())
15031503
.setQueryLanguage(options.getQueryLanguage())
15041504
.setSpeller(options.getSpeller())
1505-
.setDebug(options.getDebug());
1505+
.setDebug(options.getDebugMode());
15061506

15071507
SemanticSearchOptions semanticSearchOptions = options.getSemanticSearchOptions();
15081508
if (semanticSearchOptions != null) {

sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/SearchServiceVersion.java

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,11 @@ public enum SearchServiceVersion implements ServiceVersion {
2424
*/
2525
V2024_07_01("2024-07-01"),
2626

27+
/**
28+
* {@code 2025-09-01} service version.
29+
*/
30+
V2025_09_01("2025-09-01"),
31+
2732
/**
2833
* {@code 2025-08-01-preview} service version.
2934
*/

sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/indexes/models/AnalyzeTextOptions.java

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,11 @@ public final class AnalyzeTextOptions {
4040
*/
4141
private List<CharFilterName> charFilters;
4242

43+
/*
44+
* The name of the normalizer to use to normalize the given text.
45+
*/
46+
private LexicalNormalizerName normalizerName;
47+
4348
/**
4449
* Constructor to {@link AnalyzeTextOptions} which takes analyzerName.
4550
*
@@ -130,4 +135,24 @@ public AnalyzeTextOptions setCharFilters(CharFilterName... charFilters) {
130135
this.charFilters = (charFilters == null) ? null : Arrays.asList(charFilters);
131136
return this;
132137
}
138+
139+
/**
140+
* Get the normalizer property: The name of the normalizer to use to normalize the given text.
141+
*
142+
* @return the normalizer value.
143+
*/
144+
public LexicalNormalizerName getNormalizerName() {
145+
return this.normalizerName;
146+
}
147+
148+
/**
149+
* Set the normalizer property: The name of the normalizer to use to normalize the given text.
150+
*
151+
* @param normalizerName the normalizer value to set.
152+
* @return the AnalyzeRequest object itself.
153+
*/
154+
public AnalyzeTextOptions setNormalizerName(LexicalNormalizerName normalizerName) {
155+
this.normalizerName = normalizerName;
156+
return this;
157+
}
133158
}

sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/indexes/models/RankingOrder.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ public final class RankingOrder extends ExpandableStringEnum<RankingOrder> {
2424
* Sets sort order as ReRankerScore.
2525
*/
2626
@Generated
27-
public static final RankingOrder RE_RANKER_SCORE = fromString("RerankerScore");
27+
public static final RankingOrder RERANKER_SCORE = fromString("RerankerScore");
2828

2929
/**
3030
* Creates a new instance of RankingOrder value.

sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/indexes/models/RescoringOptions.java

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ public final class RescoringOptions implements JsonSerializable<RescoringOptions
2424
* the full-precision vectors. This will improve recall at the expense of latency.
2525
*/
2626
@Generated
27-
private Boolean enableRescoring;
27+
private Boolean rescoringEnabled;
2828

2929
/*
3030
* Default oversampling factor. Oversampling retrieves a greater set of potential documents to offset the resolution
@@ -49,28 +49,28 @@ public RescoringOptions() {
4949
}
5050

5151
/**
52-
* Get the enableRescoring property: If set to true, after the initial search on the compressed vectors, the
52+
* Get the rescoringEnabled property: If set to true, after the initial search on the compressed vectors, the
5353
* similarity scores are recalculated using the full-precision vectors. This will improve recall at the expense of
5454
* latency.
5555
*
56-
* @return the enableRescoring value.
56+
* @return the rescoringEnabled value.
5757
*/
5858
@Generated
59-
public Boolean isEnableRescoring() {
60-
return this.enableRescoring;
59+
public Boolean isRescoringEnabled() {
60+
return this.rescoringEnabled;
6161
}
6262

6363
/**
64-
* Set the enableRescoring property: If set to true, after the initial search on the compressed vectors, the
64+
* Set the rescoringEnabled property: If set to true, after the initial search on the compressed vectors, the
6565
* similarity scores are recalculated using the full-precision vectors. This will improve recall at the expense of
6666
* latency.
6767
*
68-
* @param enableRescoring the enableRescoring value to set.
68+
* @param rescoringEnabled the rescoringEnabled value to set.
6969
* @return the RescoringOptions object itself.
7070
*/
7171
@Generated
72-
public RescoringOptions setEnableRescoring(Boolean enableRescoring) {
73-
this.enableRescoring = enableRescoring;
72+
public RescoringOptions setRescoringEnabled(Boolean rescoringEnabled) {
73+
this.rescoringEnabled = rescoringEnabled;
7474
return this;
7575
}
7676

@@ -133,7 +133,7 @@ public RescoringOptions setRescoreStorageMethod(VectorSearchCompressionRescoreSt
133133
@Override
134134
public JsonWriter toJson(JsonWriter jsonWriter) throws IOException {
135135
jsonWriter.writeStartObject();
136-
jsonWriter.writeBooleanField("enableRescoring", this.enableRescoring);
136+
jsonWriter.writeBooleanField("enableRescoring", this.rescoringEnabled);
137137
jsonWriter.writeNumberField("defaultOversampling", this.defaultOversampling);
138138
jsonWriter.writeStringField("rescoreStorageMethod",
139139
this.rescoreStorageMethod == null ? null : this.rescoreStorageMethod.toString());
@@ -157,7 +157,7 @@ public static RescoringOptions fromJson(JsonReader jsonReader) throws IOExceptio
157157
reader.nextToken();
158158

159159
if ("enableRescoring".equals(fieldName)) {
160-
deserializedRescoringOptions.enableRescoring = reader.getNullable(JsonReader::getBoolean);
160+
deserializedRescoringOptions.rescoringEnabled = reader.getNullable(JsonReader::getBoolean);
161161
} else if ("defaultOversampling".equals(fieldName)) {
162162
deserializedRescoringOptions.defaultOversampling = reader.getNullable(JsonReader::getDouble);
163163
} else if ("rescoreStorageMethod".equals(fieldName)) {

sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/indexes/models/VectorSearchCompression.java

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,8 @@ public class VectorSearchCompression implements JsonSerializable<VectorSearchCom
3535
* If set to true, once the ordered set of results calculated using compressed vectors are obtained, they will be
3636
* reranked again by recalculating the full-precision similarity scores. This will improve recall at the expense of
3737
* latency.
38+
* For use with only service version 2024-07-01. If using 2025-09-01 or later, use
39+
* RescoringOptions.rescoringEnabled.
3840
*/
3941
@Generated
4042
private Boolean rerankWithOriginalVectors;
@@ -44,6 +46,8 @@ public class VectorSearchCompression implements JsonSerializable<VectorSearchCom
4446
* in the initial search. This increases the set of results that will be reranked using recomputed similarity scores
4547
* from full-precision vectors. Minimum value is 1, meaning no oversampling (1x). This parameter can only be set
4648
* when rerankWithOriginalVectors is true. Higher values improve recall at the expense of latency.
49+
* For use with only service version 2024-07-01. If using 2025-09-01 or later, use
50+
* RescoringOptions.defaultOversampling.
4751
*/
4852
@Generated
4953
private Double defaultOversampling;
@@ -98,6 +102,8 @@ public String getCompressionName() {
98102
* Get the rerankWithOriginalVectors property: If set to true, once the ordered set of results calculated using
99103
* compressed vectors are obtained, they will be reranked again by recalculating the full-precision similarity
100104
* scores. This will improve recall at the expense of latency.
105+
* For use with only service version 2024-07-01. If using 2025-09-01 or later, use
106+
* RescoringOptions.rescoringEnabled.
101107
*
102108
* @return the rerankWithOriginalVectors value.
103109
*/
@@ -110,6 +116,8 @@ public Boolean isRerankWithOriginalVectors() {
110116
* Set the rerankWithOriginalVectors property: If set to true, once the ordered set of results calculated using
111117
* compressed vectors are obtained, they will be reranked again by recalculating the full-precision similarity
112118
* scores. This will improve recall at the expense of latency.
119+
* For use with only service version 2024-07-01. If using 2025-09-01 or later, use
120+
* RescoringOptions.rescoringEnabled.
113121
*
114122
* @param rerankWithOriginalVectors the rerankWithOriginalVectors value to set.
115123
* @return the VectorSearchCompression object itself.
@@ -126,6 +134,8 @@ public VectorSearchCompression setRerankWithOriginalVectors(Boolean rerankWithOr
126134
* reranked using recomputed similarity scores from full-precision vectors. Minimum value is 1, meaning no
127135
* oversampling (1x). This parameter can only be set when rerankWithOriginalVectors is true. Higher values improve
128136
* recall at the expense of latency.
137+
* For use with only service version 2024-07-01. If using 2025-09-01 or later, use
138+
* RescoringOptions.defaultOversampling.
129139
*
130140
* @return the defaultOversampling value.
131141
*/
@@ -140,6 +150,8 @@ public Double getDefaultOversampling() {
140150
* reranked using recomputed similarity scores from full-precision vectors. Minimum value is 1, meaning no
141151
* oversampling (1x). This parameter can only be set when rerankWithOriginalVectors is true. Higher values improve
142152
* recall at the expense of latency.
153+
* For use with only service version 2024-07-01. If using 2025-09-01 or later, use
154+
* RescoringOptions.defaultOversampling.
143155
*
144156
* @param defaultOversampling the defaultOversampling value to set.
145157
* @return the VectorSearchCompression object itself.

0 commit comments

Comments
 (0)