From 9f75c8d2aad36f930f3252c698f5ffbade597d87 Mon Sep 17 00:00:00 2001 From: groot Date: Wed, 29 May 2019 18:51:21 +0800 Subject: [PATCH] use faiss 1.5.2 Former-commit-id: 3005f905b39d72ef0018151d7e704023657083c6 --- cpp/src/server/MegasearchTask.cpp | 1 - cpp/thirdparty/versions.txt | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) 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