Technology

Databricks Indexes Speed Up Text Search

Databricks introduces beta full-text search indexes to accelerate text queries on large datasets by up to 100x, without application changes.

Daniel Singer

By Daniel Singer, Editor, StartupHub.ai

3 min read

Databricks logo with abstract data visualization elements
Databricks enhances data search capabilities with new full-text search indexes.
Visual TL;DR
Slow Text SearchDriver
From the article 4 mentionsThe challenge is common: as data tables balloon into terabytes or petabytes, finding specific text strings becomes a slow, inefficient process.
Databricks IndexesCore
From the article 9+ mentionsDatabricks is introducing beta full-text search indexes designed to tackle the performance bottleneck of text queries on large datasets.
Tokenized LookupContext
From the article 2 mentionsFull-text search indexes work by creating a compact lookup structure from tokenized text content within specified columns.
No App ChangesEffect
without requiring modifications to existing table layouts or query syntax
Easy Getting StartedContext
simple steps to enable and utilize the new full-text search indexes
Up to 100x FasterOutcome
From the article 2 mentionsThis new feature promises to accelerate searches by up to 100x or more on open-format tables without requiring modifications to existing table layouts or query syntax.
Unlock New Use CasesEffect
From the articleThis aims to unlock new use cases for data teams struggling with slow lookups across massive logs, security data, or compliance records.
Customer ResultsOutcome
demonstrates significant performance improvements across various customer scenarios
Contents(3)

Databricks is introducing beta full-text search indexes designed to tackle the performance bottleneck of text queries on large datasets. This new feature promises to accelerate searches by up to 100x or more on open-format tables without requiring modifications to existing table layouts or query syntax. This aims to unlock new use cases for data teams struggling with slow lookups across massive logs, security data, or compliance records.

The challenge is common: as data tables balloon into terabytes or petabytes, finding specific text strings becomes a slow, inefficient process. Traditional workarounds often involve duplicating data, building separate search systems like Elasticsearch, or complex table restructuring, all of which introduce overhead and complexity. Databricks' solution aims to integrate this capability directly into the data platform.

Full-text search indexes work by creating a compact lookup structure from tokenized text content within specified columns. At query time, the Databricks engine uses this index to pinpoint relevant files, drastically reducing the amount of data that needs to be scanned. This means substring and keyword queries, which previously might have scanned entire tables, now only access a fraction of the data.

How it works under the hood

These indexes are stored separately from the base table and are maintained asynchronously, ensuring that write performance to the base table remains unaffected. The Databricks query engine automatically identifies and utilizes available indexes for query optimization, eliminating the need for manual query hints. Crucially, even if an index is slightly out of sync with the base table, query correctness is guaranteed as Databricks will scan both indexed and non-indexed portions as needed.

The indexes support both Delta and Iceberg tables managed under Unity Catalog, and are compatible with both serverless and classic compute options. For those familiar with data organization, this feature complements, rather than replaces, techniques like Liquid Clustering. While Liquid Clustering optimizes physical data layout for equality and range filters, full-text search indexes specifically target the challenge of finding patterns within text fields.

The daily brief

Get the free daily brief with the day's AI news, new AI startups and funding rounds every morning.

Join 64,000 other subscribers.

Customer performance results

Early adopters have reported significant gains. One Trust and Safety team saw a substring search on a petabyte-scale table accelerate by over 100x, transforming interactive investigations from a chore into a practical reality.

Getting started

Full-text search indexes are currently available in Beta on Databricks Runtime 18.2. Users can create an index using a simple SQL statement. Databricks plans to integrate these indexes more deeply with Unity Catalog for automatic permission inheritance and introduce automatic maintenance through Predictive Optimization in upcoming releases, eliminating the need for manual index refreshes.

Mentioned in this story

Get the free daily brief every morning

Every morning the day's AI news, new AI startups and new funding rounds. Free and takes a few minutes to read, unsubscribe at any time.

Join 64,000 other subscribers.

TopicsDatabricksData LakehouseSearch TechnologyDatabase IndexingBig DataData EngineeringAI

Daniel Singer

Written by

Daniel Singer

Editor, StartupHub.ai

Daniel Singer is the editor of StartupHub.ai, a technology expert and thought leader on AI and its applications across sectors, from fintech and healthcare to developer tooling and consumer software. He writes and tests the tools covered here thoroughly and regularly, and built StartupHub.ai to give founders, operators and buyers a clearer read on what they are actually being sold.

Test your Agent Readiness now

Paste your website. How well ChatGPT, Claude and the other agents can read and use a site, in about a minute, free.

Watch

The videos behind the news, one flip at a time

The feed mixes the videos from our articles with startup demos and you flip through them like TV channels for free with no signup.