mirror of https://github.com/milvus-io/milvus.git
Signed-off-by: yinghao.zou <yinghao.zou@zilliz.com>pull/3711/head
parent
0af3804974
commit
2737c3fbdd
|
@ -6,6 +6,7 @@ Please mark all change in change log and use the issue from GitHub
|
|||
## Bug
|
||||
- \#3536 Release search task in time to avoid excessive memory usage
|
||||
- \#3656 Fix to check search params 'nprobe' of BIN_IVF_FLAT
|
||||
- \#3709 Remove check for topk in mishards
|
||||
|
||||
## Feature
|
||||
- \#3213 Allow users to specify a distance type at runtime for Flat index
|
||||
|
|
|
@ -317,9 +317,9 @@ class ServiceHandler(milvus_pb2_grpc.MilvusServiceServicer):
|
|||
# raise exceptions.InvalidArgumentError(
|
||||
# message='Invalid nprobe: {}'.format(nprobe), metadata=metadata)
|
||||
|
||||
if topk > self.MAX_TOPK or topk <= 0:
|
||||
raise exceptions.InvalidTopKError(
|
||||
message='Invalid topk: {}'.format(topk), metadata=metadata)
|
||||
# if topk > self.MAX_TOPK or topk <= 0:
|
||||
# raise exceptions.InvalidTopKError(
|
||||
# message='Invalid topk: {}'.format(topk), metadata=metadata)
|
||||
|
||||
collection_meta = self.collection_meta.get(collection_name, None)
|
||||
|
||||
|
|
Loading…
Reference in New Issue