# NEAREST BY Join: Scaling Vector Search in Databricks Runtime

DevFeed: [NEAREST BY Join: Scaling Vector Search in Databricks Runtime](<https://devfeed.tech/articles/nearest-by-join-scaling-vector-search-in-databricks-runtime-64997.md>)

Original publisher: [Read original article](<https://www.databricks.com/blog/nearest-join-scaling-vector-search-databricks-runtime>)

Author: Zero Qu (Zero); Alexis Schlomer; Akash Nayar; Yingyi Bu; Sergei Tsarev

Published: 2026-10-05T20:00:00Z

Content type: article

Language: en

Sources: [Databricks](<https://devfeed.tech/sources/databricks.md>)

Topics: [databricks](<https://devfeed.tech/topics/databricks.md>), [hybrid-search](<https://devfeed.tech/topics/hybrid-search.md>), [Embeddings](<https://devfeed.tech/topics/embeddings.md>), [vectorization techniques](<https://devfeed.tech/topics/vectorization-techniques.md>), [libSQL](<https://devfeed.tech/topics/libsql.md>), [CVE-2026-41456](<https://devfeed.tech/topics/cve-2026-41456.md>)

Tags: [ai-engineering](<https://devfeed.tech/tags/ai-engineering.md>), [batching](<https://devfeed.tech/tags/batching.md>), [data-engineering](<https://devfeed.tech/tags/data-engineering.md>), [databricks](<https://devfeed.tech/tags/databricks.md>), [engineering](<https://devfeed.tech/tags/engineering.md>), [scaling](<https://devfeed.tech/tags/scaling.md>), [search](<https://devfeed.tech/tags/search.md>), [vector-search](<https://devfeed.tech/tags/vector-search.md>)

## AI overview

Databricks describes NEAREST BY, a top-k ranking join for batch vector search in Databricks Runtime. The article explains its Photon implementation, including SIMD distance functions and a fused GEMM operator that improves data reuse, along with an IVF index for approximate search. It presents these features as ways to scale batch workloads using the existing distributed runtime and Delta tables.

## Source excerpt

Vector search originated as a serving problem. The classical use case is a chatbot...