未验证 提交 7e1fd3d1 编写于 作者: Y yukun 提交者: GitHub

Fix bug (#3106)

* Fix Block Format Read bug
Signed-off-by: Nfishpenguin <kun.yu@zilliz.com>

* Fix Search crash bug
Signed-off-by: Nfishpenguin <kun.yu@zilliz.com>

* Fix CreateCollection bug
Signed-off-by: Nfishpenguin <kun.yu@zilliz.com>
Co-authored-by: NWang XiangYu <xy.wang@zilliz.com>
上级 28af7eb4
......@@ -91,9 +91,7 @@ CreateCollectionReq::OnExecute() {
}
auto field = std::make_shared<engine::snapshot::Field>(field_name, 0, field_type, field_params);
auto field_element = std::make_shared<engine::snapshot::FieldElement>(
0, 0, index_name, engine::FieldElementType::FET_INDEX, index_params);
create_collection_context.fields_schema[field] = {field_element};
create_collection_context.fields_schema[field] = {};
}
// step 3: create collection
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册