未验证 提交 02154f23 编写于 作者: B binbin 提交者: GitHub

[skip ci] Add comments for index test case (#8126)

Signed-off-by: NBinbin Lv <binbin.lv@zilliz.com>
上级 6a456f34
......@@ -944,6 +944,11 @@ class TestIndexBase:
@pytest.mark.tags(CaseLabel.L0)
def test_create_PQ_without_nbits(self, connect, collection):
"""
target: test create PQ index
method: create PQ index without nbits
expected: create successfully
"""
PQ_index = {"index_type": "IVF_PQ", "params": {"nlist": 128, "m": 16}, "metric_type": "L2"}
result = connect.insert(collection, default_entities)
connect.create_index(collection, field_name, PQ_index)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册