mirror of https://github.com/milvus-io/milvus.git
[skip ci] Add comments for index test case (#8126)
Signed-off-by: Binbin Lv <binbin.lv@zilliz.com>pull/8129/head
parent
6a456f347a
commit
02154f236b
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue