From cd9f317747983774e638688ac845f2ab16132ee3 Mon Sep 17 00:00:00 2001 From: starlord Date: Mon, 15 Jul 2019 11:10:57 +0800 Subject: [PATCH] fix index check error Former-commit-id: 9b876213adce723cb2da6d4aa40fb33be2a2c54a --- 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 65cd81e67..a1e3f0dff 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