Skip to content

Commit 66af344

Browse files
authored
fix: pass offset parameter for hybrid search to server (#2052)
issue: #2050 pr: #2051 Signed-off-by: zhenshan.cao <[email protected]>
1 parent b1fcb5d commit 66af344

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

‎pymilvus/client/prepare.py‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -708,6 +708,7 @@ def hybrid_search_request_with_ranker(
708708
use_default_consistency = ts_utils.construct_guarantee_ts(collection_name, kwargs)
709709
rerank_param["limit"] = limit
710710
rerank_param["round_decimal"] = round_decimal
711+
rerank_param["offset"] = kwargs.get("offset", 0)
711712

712713
request = milvus_types.HybridSearchRequest(
713714
collection_name=collection_name,

0 commit comments

Comments
 (0)