diff --git a/core/src/server/delivery/request/DeleteByIDRequest.cpp b/core/src/server/delivery/request/DeleteByIDRequest.cpp index d14d4c8ec0ccfcf9b5d2219d190ad331473334f2..1136d8a894d8b6181180e79e48c706bbd3fcb73c 100644 --- a/core/src/server/delivery/request/DeleteByIDRequest.cpp +++ b/core/src/server/delivery/request/DeleteByIDRequest.cpp @@ -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_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 = "Index type " + std::to_string(table_schema.engine_type_) + " does not support delete operation"; SERVER_LOG_ERROR << err_msg;