You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by ch...@apache.org on 2024/12/13 12:19:11 UTC
(lucene) branch branch_9_12 updated: Align TestGenerateBwcIndices.java with AddBackcompatindices.py (#13911)
This is an automated email from the ASF dual-hosted git repository.
chegar pushed a commit to branch branch_9_12
in repository https://gitbox.apache.org/repos/asf/lucene.git
The following commit(s) were added to refs/heads/branch_9_12 by this push:
new 6ca54feaa8c Align TestGenerateBwcIndices.java with AddBackcompatindices.py (#13911)
6ca54feaa8c is described below
commit 6ca54feaa8c9168caf1b22bafc68a4d049ff0d94
Author: Luca Cavanna <ja...@apache.org>
AuthorDate: Tue Oct 15 13:39:47 2024 +0200
Align TestGenerateBwcIndices.java with AddBackcompatindices.py (#13911)
We updated TestGenerateBwcIndices to create int7 HNSW indices instead of int8 with #13874.
The corresponding python code part of the release wizard needs to be updated accordingly.
---
dev-tools/scripts/addBackcompatIndexes.py | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/dev-tools/scripts/addBackcompatIndexes.py b/dev-tools/scripts/addBackcompatIndexes.py
index 80272ec0f0c..3056c8268d4 100755
--- a/dev-tools/scripts/addBackcompatIndexes.py
+++ b/dev-tools/scripts/addBackcompatIndexes.py
@@ -40,7 +40,7 @@ def create_and_add_index(source, indextype, index_version, current_version, temp
'cfs': 'index',
'nocfs': 'index',
'sorted': 'sorted',
- 'int8_hnsw': 'int8_hnsw',
+ 'int7_hnsw': 'int7_hnsw',
'moreterms': 'moreterms',
'dvupdates': 'dvupdates',
'emptyIndex': 'empty'
@@ -61,7 +61,7 @@ def create_and_add_index(source, indextype, index_version, current_version, temp
'cfs': 'testCreateCFS',
'nocfs': 'testCreateNoCFS',
'sorted': 'testCreateSortedIndex',
- 'int8_hnsw': 'testCreateInt8HNSWIndices',
+ 'int7_hnsw': 'testCreateInt7HNSWIndices',
'moreterms': 'testCreateMoreTermsIndex',
'dvupdates': 'testCreateIndexWithDocValuesUpdates',
'emptyIndex': 'testCreateEmptyIndex'
@@ -206,7 +206,7 @@ def main():
current_version = scriptutil.Version.parse(scriptutil.find_current_version())
create_and_add_index(source, 'cfs', c.version, current_version, c.temp_dir)
create_and_add_index(source, 'nocfs', c.version, current_version, c.temp_dir)
- create_and_add_index(source, 'int8_hnsw', c.version, current_version, c.temp_dir)
+ create_and_add_index(source, 'int7_hnsw', c.version, current_version, c.temp_dir)
should_make_sorted = current_version.is_back_compat_with(c.version) \
and (c.version.major > 6 or (c.version.major == 6 and c.version.minor >= 2))
if should_make_sorted: