You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/collections.md
+10-7Lines changed: 10 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -67,7 +67,7 @@ When `USING MODEL` is omitted, the collection uses the **default embedding model
67
67
68
68
## Quantization — QUANTIZE clause
69
69
70
-
Quantization reduces the memory footprint of vector collections and speeds up search at the cost of a small, controllable accuracy loss. QQL supports all three Qdrant quantization strategies via an optional `QUANTIZE` clause appended to `CREATE COLLECTION`.
70
+
Quantization reduces the memory footprint of vector collections and speeds up search at the cost of a small, controllable accuracy loss. QQL supports all four Qdrant quantization strategies via an optional `QUANTIZE` clause appended to `CREATE COLLECTION`.
-**`QUANTILE <float>`** — (SCALAR only) calibration quantile for the INT8 conversion; defaults to Qdrant's built-in default (0.99) when omitted.
90
-
-**`BITS <depth>`** — (TURBO only) bit depth controlling compression ratio:
91
-
-`4` — 4-bit, **8×** compression (default when `BITS` is omitted)
92
-
-`2` — 2-bit, **16×** compression
93
-
-`1.5` — 1.5-bit, **24×** compression
94
-
-`1` — 1-bit, **32×** compression (same ratio as BINARY, but better recall)
90
+
-**`BITS <depth>`** — (TURBO only) bit depth passed to the Qdrant SDK:
91
+
-`4` — 4-bit (default when `BITS` is omitted; server applies its own default)
92
+
-`2` — 2-bit
93
+
-`1.5` — 1.5-bit
94
+
-`1` — 1-bit
95
+
> Compression ratios (8×, 16×, 24×, 32×) and recall characteristics are
96
+
> Qdrant server-side behaviors. QQL maps the `BITS` value to the SDK model and
97
+
> passes it to Qdrant; actual results depend on your Qdrant server version.
95
98
-**`ALWAYS RAM`** — keep the **quantized** vectors in RAM at all times, regardless of the collection's `on_disk` setting. Improves search throughput at the cost of higher RAM usage for the compressed index. The original full-precision vectors are stored and managed independently of this flag. Supported by all four quantization types.
96
99
-**`QUANTIZE`** always appears **after** all other clauses (`HYBRID`, `USING MODEL`, etc.).
97
100
- For `PRODUCT`, the compression ratio is fixed at **4×** in this version.
98
-
- For `TURBO`, all distance metrics are supported; `TURBO` fully supports Cosine, Dot, and Euclidean with SIMD-accelerated scoring.
101
+
- For `TURBO`, Cosine, Dot, and Euclidean distance are supported by the Qdrant server when TurboQuant is enabled.
99
102
- When used with `HYBRID` collections, quantization applies only to the **dense** vector.
0 commit comments