mirror of
https://gitee.com/milvus-io/milvus.git
synced 2026-01-07 19:31:51 +08:00
MS-489 GPU search result is wrong when index_type is IVFLAT/IVF_SQ8 and metric_type is IP
Former-commit-id: 6e1bf08e30e3c15679d386bdb6d93429c3e27418
This commit is contained in:
parent
29474af273
commit
ab09a4df61
@ -255,7 +255,7 @@ Status DBImpl::CreateIndex(const std::string& table_id, const TableIndex& index)
|
||||
if(!utils::IsSameIndex(old_index, new_index)) {
|
||||
DropIndex(table_id);
|
||||
|
||||
status = meta_ptr_->UpdateTableIndexParam(table_id, index);
|
||||
status = meta_ptr_->UpdateTableIndexParam(table_id, new_index);
|
||||
if (!status.ok()) {
|
||||
ENGINE_LOG_ERROR << "Failed to update table index info for table: " << table_id;
|
||||
return status;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user