From 0b344f19648847bd41f63e2b9b3136b7f01a5511 Mon Sep 17 00:00:00 2001 From: cqy123456 Date: Thu, 15 Jun 2023 23:53:59 -0400 Subject: [PATCH] fix wrong file name in GetOptionalFilenames() function Signed-off-by: cqy123456 --- src/index/diskann/diskann.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/index/diskann/diskann.cc b/src/index/diskann/diskann.cc index 17765d934..5987490fc 100644 --- a/src/index/diskann/diskann.cc +++ b/src/index/diskann/diskann.cc @@ -215,7 +215,7 @@ GetOptionalFilenames(const std::string& prefix) { auto disk_index_filename = diskann::get_disk_index_filename(prefix); filenames.push_back(diskann::get_disk_index_centroids_filename(disk_index_filename)); filenames.push_back(diskann::get_disk_index_medoids_filename(disk_index_filename)); - filenames.push_back(diskann::get_cached_nodes_file(disk_index_filename)); + filenames.push_back(diskann::get_cached_nodes_file(prefix)); return filenames; }