提交 d333a752 编写于 作者: P peng.xu

Merge branch 'branch-0.3.1' into 'branch-0.3.1'

fix index check error

See merge request megasearch/milvus!210

Former-commit-id: eee81fd404efb7d73a8e0d56a2a80e0177d1faa3
...@@ -59,7 +59,8 @@ ValidateTableIndexType(int32_t index_type) { ...@@ -59,7 +59,8 @@ ValidateTableIndexType(int32_t index_type) {
auto engine_type = engine::EngineType(index_type); auto engine_type = engine::EngineType(index_type);
switch (engine_type) { switch (engine_type) {
case engine::EngineType::FAISS_IDMAP: 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; SERVER_LOG_DEBUG << "Index type: " << index_type;
return SERVER_SUCCESS; return SERVER_SUCCESS;
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册