Small structure change

This commit is contained in:
Abdon Pijpelink
2025-11-18 14:38:09 +01:00
parent c8019b62ac
commit 6a163dba66
+4 -2
View File
@@ -126,6 +126,8 @@ However, disk-based storage has a property we can exploit to reduce the number o
With Qdrant version 1.16, you can make use of paged reading through a new feature called [inline storage](/documentation/guides/optimize/#inline-storage-in-hnsw-index). Inline storage allows for storing quantized vector data directly inside the HNSW nodes. This offers faster read access, at the cost of additional storage space.
Inline storage can be enabled by [setting a collection's HNSW configuration `inline_storage` option to `true`](/documentation/guides/optimize/#inline-storage-in-hnsw-index). It requires quantization to be enabled.
<figure>
<img src="/blog/qdrant-1.16.x/no-inline-storage.png">
<figcaption>
@@ -156,6 +158,8 @@ Note that quantization needs to be enabled for inline storage to work efficientl
Using a smaller data type and quantization reduces the size of each vector significantly, making it possible to store them inline. When combining inline storage with `float16` data types and quantization, evaluating a node in the HNSW graph requires reading only two pages from disk, rather than making 32 random access reads. This represents a significant improvement over the traditional approach, at the cost of additional storage space.
### Benchmarks
Benchmark setup: 1,000,000 vectors (a subset of LAION 512d CLIP embeddings), 2-bit quantization, float16 data type.
<table>
@@ -190,8 +194,6 @@ Benchmark setup: 1,000,000 vectors (a subset of LAION 512d CLIP embeddings), 2-b
The benchmark shows that the inline storage not just improves search performance by an order of magnitude for low RAM setups, but also provides better accuracy thanks to the implicit rescoring during the search.
The search performance is comparable to medium RAM setup which has enough memory to hold HNSW index and quantized vectors in RAM.
Inline storage can be enabled by [setting a collection's HNSW configuration `inline_storage` option to `true`](/documentation/guides/optimize/#inline-storage-in-hnsw-index). It requires quantization to be enabled.
## Full-Text Search Enhancements
![Section 4](/blog/qdrant-1.16.x/section-4.png)