mirror of
https://github.com/lancedb/lancedb.git
synced 2025-12-27 23:12:58 +00:00
feat: support offset in remote client (#1923)
Closes https://github.com/lancedb/lancedb/issues/1876
This commit is contained in:
@@ -343,6 +343,7 @@ def test_query_sync_maximal():
|
||||
assert body == {
|
||||
"distance_type": "cosine",
|
||||
"k": 42,
|
||||
"offset": 10,
|
||||
"prefilter": True,
|
||||
"refine_factor": 10,
|
||||
"vector": [1.0, 2.0, 3.0],
|
||||
@@ -363,6 +364,7 @@ def test_query_sync_maximal():
|
||||
table.search([1, 2, 3], vector_column_name="vector2", fast_search=True)
|
||||
.metric("cosine")
|
||||
.limit(42)
|
||||
.offset(10)
|
||||
.refine_factor(10)
|
||||
.nprobes(5)
|
||||
.where("id > 0", prefilter=True)
|
||||
|
||||
Reference in New Issue
Block a user