未验证 提交 e3786a24 编写于 作者: S shengjun.li 提交者: GitHub

IVFPQ has supported to delete vectors (#1722)

Signed-off-by: Nshengjun.li <shengjun.li@zilliz.com>
上级 538c377e
...@@ -72,7 +72,8 @@ DeleteByIDRequest::OnExecute() { ...@@ -72,7 +72,8 @@ DeleteByIDRequest::OnExecute() {
table_schema.engine_type_ != (int32_t)engine::EngineType::FAISS_BIN_IDMAP && table_schema.engine_type_ != (int32_t)engine::EngineType::FAISS_BIN_IDMAP &&
table_schema.engine_type_ != (int32_t)engine::EngineType::FAISS_IVFFLAT && table_schema.engine_type_ != (int32_t)engine::EngineType::FAISS_IVFFLAT &&
table_schema.engine_type_ != (int32_t)engine::EngineType::FAISS_BIN_IVFFLAT && table_schema.engine_type_ != (int32_t)engine::EngineType::FAISS_BIN_IVFFLAT &&
table_schema.engine_type_ != (int32_t)engine::EngineType::FAISS_IVFSQ8) { table_schema.engine_type_ != (int32_t)engine::EngineType::FAISS_IVFSQ8 &&
table_schema.engine_type_ != (int32_t)engine::EngineType::FAISS_PQ) {
std::string err_msg = std::string err_msg =
"Index type " + std::to_string(table_schema.engine_type_) + " does not support delete operation"; "Index type " + std::to_string(table_schema.engine_type_) + " does not support delete operation";
SERVER_LOG_ERROR << err_msg; SERVER_LOG_ERROR << err_msg;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册