Weaviate
Weaviate logoWeaviate · Feature trail

HFresh: Memory-Efficient Vector Search

2 posts · Mar 2026 – Sep 2026

What this trail covers

HFresh is Weaviate's disk-based vector index designed for memory-efficient applications and large datasets. It utilizes a two-stage search strategy: an in-memory HNSW centroid index routes queries to relevant disk-based postings, which contain compressed vectors. Background operations like splitting, merging, and reassigning postings ensure index freshness without full rebuilds. In v1.39, HFresh reaches technical preview with RQ-8 for centroid index and RQ-1 for postings, supporting cosine and l. This release introduces 4-bit Rotational Quantization (RQ4) with centering and outlier storage, significantly improving memory efficiency (45% heap reduction for a 1536-dim dataset) and import times (37% faster for RQ4). Encoding and distance kernels are optimized with SIMD support, and prefetching is improved for better memory access. Recall remains stable across datasets from 1M to 250M vectors.

All Weaviate trails