diff --git a/cpp/src/server/MegasearchTask.cpp b/cpp/src/server/MegasearchTask.cpp index a1df83bcb3..6871893348 100644 --- a/cpp/src/server/MegasearchTask.cpp +++ b/cpp/src/server/MegasearchTask.cpp @@ -237,7 +237,6 @@ AddVectorTask::AddVectorTask(const std::string& table_name, record_array_(record_array), record_ids_(record_ids) { record_ids_.clear(); - record_ids_.resize(record_array.size()); } BaseTaskPtr AddVectorTask::Create(const std::string& table_name, diff --git a/cpp/thirdparty/versions.txt b/cpp/thirdparty/versions.txt index 772c709016..98e5381a56 100644 --- a/cpp/thirdparty/versions.txt +++ b/cpp/thirdparty/versions.txt @@ -26,7 +26,7 @@ BOOST_VERSION=1.70.0 BZIP2_VERSION=1.0.6 EASYLOGGINGPP_VERSION=v9.96.7 -FAISS_VERSION=master +FAISS_VERSION=v1.5.2 GTEST_VERSION=1.8.1 LAPACK_VERSION=v3.8.0 LZ4_VERSION=v1.9.1