Introducing the Milvus Ngram Index: Faster Keyword Matching and LIKE Queries for Agent Workloads
Dec 16, 2025Chenjie Tang

Summary
Introduces the Ngram Index for Milvus, enabling faster LIKE queries and keyword matching by indexing n-grams of text. Details the index construction (min_gram, max_gram) and query acceleration phases, including handling of infix and wildcard matches. Discusses limitations like increased index size and evaluates performance benchmarks.
More from the AI Data Storage Engine trail
- Milvus Snapshots: Point-in-Time Collection Views Without Copying Data
- Announcing Milvus 3.0: Lake-Native Vector Search and a More Powerful Retrieval Engine
- How to Recover Milvus Data After etcd Corruption Without a Backup
- Open Tag: An Open-Source Claude Tag for Claude Code and Codex
- How Force Merge Compaction Nearly Doubled Milvus Search QPS