From 010d6d892c20bd3dff2c5095a477605d73d3de0a Mon Sep 17 00:00:00 2001 From: "zhenshan.cao" Date: Wed, 24 Apr 2024 15:28:46 +0800 Subject: [PATCH] fix: pass offset parameter for hybrid search to server Signed-off-by: zhenshan.cao --- pymilvus/client/prepare.py | 1 + 1 file changed, 1 insertion(+) diff --git a/pymilvus/client/prepare.py b/pymilvus/client/prepare.py index 2217bb480..a756a1dc7 100644 --- a/pymilvus/client/prepare.py +++ b/pymilvus/client/prepare.py @@ -713,6 +713,7 @@ def hybrid_search_request_with_ranker( use_default_consistency = ts_utils.construct_guarantee_ts(collection_name, kwargs) rerank_param["limit"] = limit rerank_param["round_decimal"] = round_decimal + rerank_param["offset"] = kwargs.get("offset", 0) request = milvus_types.HybridSearchRequest( collection_name=collection_name,