[skip ci] Comment out useless code (#8426)

Signed-off-by: ThreadDao <yufen.zong@zilliz.com>
This commit is contained in:
ThreadDao 2021-09-23 19:21:55 +08:00 committed by GitHub
parent 96093664c6
commit 61383c1eec
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 10 additions and 10 deletions

View File

@ -7,17 +7,17 @@ from multiprocessing import Pool, Process
import concurrent.futures
from threading import current_thread
import pytest
from utils.utils import *
# from utils.utils import *
from common.constants import *
default_single_query = {
"bool": {
"must": [
{"vector": {
default_float_vec_field_name: {"topk": 10, "query": gen_vectors(1, default_dim), "params": {"nprobe": 10}}}}
]
}
}
# default_single_query = {
# "bool": {
# "must": [
# {"vector": {
# default_float_vec_field_name: {"topk": 10, "query": gen_vectors(1, default_dim), "params": {"nprobe": 10}}}}
# ]
# }
# }
# class TestGetBase:
# """

View File

@ -8,7 +8,7 @@ import pytest
from utils.utils import *
from common.constants import *
uid = "list_id_in_segment"
# uid = "list_id_in_segment"
# def get_segment_id(connect, collection, nb=1, vec_type='float', index_params=None):
# if vec_type != "float":