From c5d232e17d9b670614d69908d22463278cea507d Mon Sep 17 00:00:00 2001 From: groot Date: Mon, 15 Jul 2019 11:10:57 +0800 Subject: [PATCH] fix index check error Former-commit-id: f8f7378294cf9287ec2f7111b8336703a2e13e12 --- cpp/src/utils/ValidationUtil.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/cpp/src/utils/ValidationUtil.cpp b/cpp/src/utils/ValidationUtil.cpp index 65cd81e6..a1e3f0df 100644 --- a/cpp/src/utils/ValidationUtil.cpp +++ b/cpp/src/utils/ValidationUtil.cpp @@ -59,7 +59,8 @@ ValidateTableIndexType(int32_t index_type) { auto engine_type = engine::EngineType(index_type); switch (engine_type) { case engine::EngineType::FAISS_IDMAP: - case engine::EngineType::FAISS_IVFFLAT: { + case engine::EngineType::FAISS_IVFFLAT: + case engine::EngineType::FAISS_IVFSQ8:{ SERVER_LOG_DEBUG << "Index type: " << index_type; return SERVER_SUCCESS; } -- GitLab