diff --git a/Cargo.toml b/Cargo.toml index 90a2cff6..d5d3a71b 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -20,11 +20,11 @@ keywords = ["lancedb", "lance", "database", "vector", "search"] categories = ["database-implementations"] [workspace.dependencies] -lance = { "version" = "=0.13.0", "features" = ["dynamodb"] } -lance-index = { "version" = "=0.13.0" } -lance-linalg = { "version" = "=0.13.0" } -lance-testing = { "version" = "=0.13.0" } -lance-datafusion = { "version" = "=0.13.0" } +lance = { "version" = "=0.14.0", "features" = ["dynamodb"] } +lance-index = { "version" = "=0.14.0" } +lance-linalg = { "version" = "=0.14.0" } +lance-testing = { "version" = "=0.14.0" } +lance-datafusion = { "version" = "=0.14.0" } # Note that this one does not include pyarrow arrow = { version = "51.0", optional = false } arrow-array = "51.0" diff --git a/python/pyproject.toml b/python/pyproject.toml index 9bb832cb..ad95a6d0 100644 --- a/python/pyproject.toml +++ b/python/pyproject.toml @@ -3,7 +3,7 @@ name = "lancedb" # version in Cargo.toml dependencies = [ "deprecation", - "pylance==0.13.0", + "pylance==0.14.0", "ratelimiter~=1.0", "requests>=2.31.0", "retry>=0.9.2", diff --git a/python/python/lancedb/query.py b/python/python/lancedb/query.py index c50810a0..7b147abd 100644 --- a/python/python/lancedb/query.py +++ b/python/python/lancedb/query.py @@ -429,8 +429,10 @@ class LanceQueryBuilder(ABC): >>> plan = table.search(query).explain_plan(True) >>> print(plan) # doctest: +ELLIPSIS, +NORMALIZE_WHITESPACE Projection: fields=[vector, _distance] - KNNFlat: k=10 metric=l2 - LanceScan: uri=..., projection=[vector], row_id=true, row_addr=false, ordered=false + FilterExec: _distance@2 IS NOT NULL + SortExec: TopK(fetch=10), expr=[_distance@2 ASC NULLS LAST] + KNNVectorDistance: metric=l2 + LanceScan: uri=..., projection=[vector], row_id=true, row_addr=false, ordered=false Parameters ---------- @@ -1213,8 +1215,10 @@ class AsyncQueryBase(object): ... print(plan) >>> asyncio.run(doctest_example()) # doctest: +ELLIPSIS, +NORMALIZE_WHITESPACE Projection: fields=[vector, _distance] - KNNFlat: k=10 metric=l2 - LanceScan: uri=..., projection=[vector], row_id=true, row_addr=false, ordered=false + FilterExec: _distance@2 IS NOT NULL + SortExec: TopK(fetch=10), expr=[_distance@2 ASC NULLS LAST] + KNNVectorDistance: metric=l2 + LanceScan: uri=..., projection=[vector], row_id=true, row_addr=false, ordered=false Parameters ----------