ClickHouse Release 23.1
ClickHouse 23.1 adds experimental inverted full-text indices as a data-skipping index, parameterized views, and a TTL-based query results cache, alongside 17 features, 17 performance optimisations and 78 bug fixes. On Hacker News data, the inverted index cuts a token-match query from 0.56s scanning 34M rows to 0.29s scanning 6M rows. It stores no term positions or relevancy statistics and supports only whitespace or n-gram tokenization, so it accelerates token matching but does not replace a search engine. The query cache is deliberately not transactionally consistent: entries expire only by TTL, trading accuracy for performance in OLAP workloads like dashboards.
Related posts
- What's new in ClickStack. January '26.
ClickHouse mediumAdept
ClickStack now supports ClickHouse's simpler bloom_filter skip index with explicit tokens() tokenization for log body search, replacing hard-to-tune tokenbf_v1 parameters with a single false-positive rate. That yields roughly 15% smaller indexes, up to 50% faster index analysis and searches up to 5x faster. It also adds UI support for ClickHouse's beta inverted text index via hasAllTokens, which ran about 9x faster than the bloom filter on an OpenTelemetry demo query while reading over 100x less data. That index requires ClickHouse 25.12+, the splitByNonAlpha tokenizer and a 64-token-per-call limit. Alerts now automatically use registered materialized views, and the month also brought the launch of Managed ClickStack on ClickHouse Cloud, priced on compute and storage.
- Introducing Inverted Indices in ClickHouse
ClickHouse mediumAdept
ClickHouse v23.1 adds experimental inverted indexes (contributed by IBM) as MergeTree secondary indexes for full-text term search. Dictionaries are stored as minimized finite state transducers mapping terms to posting-list offsets, and posting lists are compressed with roaring bitmaps for fast unions and intersections. Indexes are built per part with single-pass in-memory inversion into segments stored across metadata, dictionary and posting-list files, so lookups never load the whole index. On 28.7M Hacker News comments, a hasToken query drops from 0.843s to 0.248s (about 3.4x), though part merges currently rebuild the index from scratch.
- Announcing General Availability of ClickHouse Full-text Search
ClickHouse mediumAdept
ClickHouse Full-text Search is now generally available, implemented as a Lucene-style inverted index that maps tokens to row numbers using configurable tokenizers and preprocessors defined in SQL. Unlike granule-level Bloom filter skip indexes, it is deterministic, supports multi-token search and scales better. It does not do relevance scoring or directly accelerate phrase search. On a 10-billion-row GitHub events dataset, a token search with monthly aggregation dropped from 193s with a linear scan and 143s with a Bloom filter to 0.42s with the text index. The costs are roughly 50% lower insert throughput and larger index storage than Bloom filters.
- What's new in ClickStack - April 2026
ClickHouse mediumAdept
ClickStack's April 2026 release adds alerts driven by arbitrary ClickHouse SQL, so rolling baselines and standard-deviation anomaly checks can be written with window functions and fire when the query returns 1. The default otel_logs schema was redesigned around ClickHouse full-text indexes on attribute map keys/values and lower(Body), with a five-minute bucketed ordering key, improving sample query performance by over 70% at comparable insert cost; versions before 26.2 fall back to bloom_filter indexes. An opt-in companion column flattens attribute maps into key=value arrays so map lookups are rewritten to indexed has() predicates, running 1.4–10x faster. Autocomplete now reads from 15-minute materialized-view rollups instead of scanning live tables, and heatmaps become a general chart type.
- Alexey's favorite features of 2025
ClickHouse mediumAdept
ClickHouse shipped 12 releases in 2025 with 277 new features, 319 performance optimizations and 1,051 bug fixes. Highlights include lightweight SQL UPDATE/DELETE built on patch parts applied during merges, catalog-backed Iceberg/Delta Lake support (Unity, Glue, Hive, Polaris, OneLake) with pruning, schema evolution and writes, and a text index for full-text token search. Also covered: GA vector search with HNSW, binary quantization and a QBit type for runtime precision tuning, a query condition cache (~10x on repeated filters), global join reordering (~1,450x on a TPC-H six-table join) and lazy materialization (219s to 0.14s on a top-N query).