Columnar Formatted Inverted Index for Highly-Paralleled, Vectorized Query Processing
Weichen Zhao, Minghao Zhao, Huiqi Hu, Weining Qian
Abstract
Inverted index is a basic tool in many data-intensive applications. Though numerous efforts have been made on efficient inverted index-based query processing, existing schemes do not achieve the expected performance for modern data centers, in which servers are equipped with powerful CPUs and relatively large memory. Through comprehensive measurement studies, we identify the root course is that the data formats for index representation make it unfeasible to design efficient query execution approaches on top of it, which results in poor parallel query support and waste CPU computation. Driven by the findings, we propose to reconcile the in-memory index as columnar structures. To enable this idea, we construct the compact columnar format (i.e., Cocoa) that achieves both desirable space efficiency and maintains the capability for efficient searching support. With Cocoa, we design an efficient query executing scheme that utilizes vectorized batch processing to avoid frequent branch prediction, as well as clause enumeration with pruning to save the overhead of intermediate batch materialization. We build an open-source system VeloSearch to embody our design; experimental results show that VeloSearch achieves 30× better performance compared with state-of-the-art search libraries such as Lucene and Tantivy.
Ask about this paper
Ask your agent about it.
Lune has read the top-tier papers around this one, so every answer names the papers it rests on.
Your agent calls
Lunesearch_papers
Free to start. No credit card required.
Terminal
Install the CLIlune papers get 6cdf28d0-ca9e-4a9f-8f58-68a0def54f4cRelated papers
- Improving LZ4 for Effective Compression and Efficient QueryZhiheng Liu, Shaoxu SongSIGMOD 2026 · 1 citation
- Cuckoo Trie: Exploiting Memory-Level Parallelism for Efficient DRAM IndexingAdar Zeitak, Adam MorrisonSOSP 2021 · 13 citations
- CoTra: Towards Efficient and Scalable Distributed Vector Search with RDMAXiangyu Zhi, Meng Chen, Xiao Yan, Baotong Lu et al.SIGMOD 2026 · 7 citations
- IIU: Specialized Architecture for Inverted Index SearchJun Heo, Jaeyeon Won, Yejin Lee, Shivam Bharuka et al.ASPLOS 2020 · 7 citations
- Cuckoo Index: A Lightweight Secondary Index StructureAndreas Kipf, Damian Chromejko, Alexander Hall, Peter Boncz et al.VLDB 2020 · 12 citations
