From trees to graphs: speeding up vector search 10x with Hannoy
blog.kerollmops.com·7h
📊Vector Databases
Preview
Report Post

This article aims to address several limitations of the current vector database used by Meilisearch, and to introduce hannoy: a graph-based alternative to arroy using LMDB, which is already part of Meilisearch since v1.21 (Sept 15) as experimental and the default one since v1.29 (Dec 8).

Early testing has shown that the new system can reduce indexing times from 2 days to 2 hours, decrease the on-disk index size by a factor of 2, and speed up search by ~10 times. When it was first put it into production on an instance with indexing difficulties, it reduced the indexing latency from 2 months to... 6 seconds.

To illustrate why this is the case, I’ll run through some key heuristics of graph ANN algorithms and share a few snippets from the …

Similar Posts

Loading similar posts...