Skip to content

Commit 8f310f5

Browse files
Bump version on main branch to 3.3 (opensearch-project#19033)
Signed-off-by: bowenlan-amzn <[email protected]>
1 parent 28b852d commit 8f310f5

File tree

5 files changed

+13
-7
lines changed

5 files changed

+13
-7
lines changed

.ci/bwcVersions

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,3 +48,4 @@ BWC_VERSION:
4848
- "2.19.3"
4949
- "3.0.0"
5050
- "3.1.0"
51+
- "3.2.0"

buildSrc/version.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
# Please use ../gradle/libs.versions.toml for dependency management
2-
opensearch = 3.2.0
2+
opensearch = 3.3.0

gradle/libs.versions.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[versions]
2-
opensearch = "3.2.0"
2+
opensearch = "3.3.0"
33
lucene = "10.2.2"
44

55
bundled_jdk_vendor = "adoptium"

libs/core/src/main/java/org/opensearch/Version.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,8 @@ public class Version implements Comparable<Version>, ToXContentFragment {
120120
public static final Version V_3_0_0 = new Version(3000099, org.apache.lucene.util.Version.LUCENE_10_1_0);
121121
public static final Version V_3_1_0 = new Version(3010099, org.apache.lucene.util.Version.LUCENE_10_2_1);
122122
public static final Version V_3_2_0 = new Version(3020099, org.apache.lucene.util.Version.LUCENE_10_2_2);
123-
public static final Version CURRENT = V_3_2_0;
123+
public static final Version V_3_3_0 = new Version(3030099, org.apache.lucene.util.Version.LUCENE_10_2_2);
124+
public static final Version CURRENT = V_3_3_0;
124125

125126
public static Version fromId(int id) {
126127
final Version known = LegacyESVersion.idToVersion.get(id);

rest-api-spec/src/main/resources/rest-api-spec/test/search/400_max_score.yml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -38,23 +38,25 @@ teardown:
3838

3939
- do:
4040
search:
41+
rest_total_hits_as_int: true
4142
index: test_1
4243
body:
4344
query: { term: { foo: bar} }
4445
sort: [{ _score: desc }, { _doc: desc }]
4546
- match: { hits.total: 2 }
4647
- length: { hits.hits: 2 }
47-
- match: { max_score: 1.0 }
48+
- match: { hits.max_score: 1.0 }
4849

4950
- do:
5051
search:
52+
rest_total_hits_as_int: true
5153
index: test_1
5254
body:
5355
query: { term: { foo: bar} }
5456
sort: [{ _score: asc }, { _doc: desc }]
5557
- match: { hits.total: 2 }
5658
- length: { hits.hits: 2 }
57-
- match: { max_score: null }
59+
- match: { hits.max_score: null }
5860

5961
---
6062
"Test max score with sorting on score firstly with concurrent segment search enabled":
@@ -70,20 +72,22 @@ teardown:
7072

7173
- do:
7274
search:
75+
rest_total_hits_as_int: true
7376
index: test_1
7477
body:
7578
query: { term: { foo: bar} }
7679
sort: [{ _score: desc }, { _doc: desc }]
7780
- match: { hits.total: 2 }
7881
- length: { hits.hits: 2 }
79-
- match: { max_score: 1.0 }
82+
- match: { hits.max_score: 1.0 }
8083

8184
- do:
8285
search:
86+
rest_total_hits_as_int: true
8387
index: test_1
8488
body:
8589
query: { term: { foo: bar} }
8690
sort: [{ _score: asc }, { _doc: desc }]
8791
- match: { hits.total: 2 }
8892
- length: { hits.hits: 2 }
89-
- match: { max_score: null }
93+
- match: { hits.max_score: null }

0 commit comments

Comments
 (0)