feat(index): expose layered RaBitQ defaults across SDKs

This commit is contained in:
Yang Cen
2026-10-21 19:29:42 +08:00
parent 1480a9ff57
commit 691a222f1e
14 changed files with 240 additions and 83 deletions
+12 -1
View File
@@ -33,6 +33,17 @@ The following distance types are available:
***
### layered?
```ts
optional layered: boolean;
```
Use prefix planes. Unset uses the product default: false in OSS and true
in Enterprise. Ignored for 1-bit and 2-bit codes.
***
### maxIterations?
```ts
@@ -58,7 +69,7 @@ Number of bits per dimension for residual quantization.
This value controls how much each residual component is compressed. The more
bits, the more accurate the index will be but the slower search. Typical values
are small integers; the default is 1 bit per dimension.
are small integers; the default is 5 bits per dimension.
***