Intro to Full-Text Search in ClickHouse

Previous videoClickhouse Meetups Toronto Five One FourNext videoGetting Started with Managed ClickStack
Mark Needham
ClickHouse 26.2 brings the text index to production status, and in this video we take a proper look at how it works. It's implemented as an inverted index - similar to what you'd find in Lucene - so it stores a mapping from tokens to row numbers, letting the query engine skip most of the data when searching text columns.
We run through the whole thing using a 20 million row subset of the GitHub events dataset:
- How the text index works under the hood (inverted index, tokenizers, preprocessors)
- Creating tables with and without the index and comparing insert performance and disk usage
- Writing queries using
hasToken,hasAllTokens, andhasAnyTokens - Using EXPLAIN to see granule skipping in action — from 2504 granules down to 28
- A real-world example: GitTrends, built on the full 10 billion row dataset
Recent videos
View all Videos
How to
Inspect incoming data with INSERT … RETURNING in ClickHouse
Use INSERT … RETURNING in ClickHouse 26.11 to inspect generated values, sample incoming rows, find invalid ratings, and summarise an ingestion batch.

How to
Reading and writing Vortex files with ClickHouse (26.11)
Query and export Vortex files with ClickHouse 26.11, using a FineWeb dataset containing just over a million web pages.

