Skip to content

Commit a6c9242

Browse files
committed
Adding bbq index types to specification
1 parent 509f88a commit a6c9242

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

specification/_types/mapping/DenseVectorProperty.ts

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -162,6 +162,18 @@ export class DenseVectorIndexOptions {
162162
}
163163

164164
export enum DenseVectorIndexOptionsType {
165+
/**
166+
* This utilizes a brute-force search algorithm in addition to automatically quantizing to binary vectors.
167+
* Only supports `element_type` of `float`.
168+
*/
169+
bbq_flat,
170+
/**
171+
* This utilizes the HNSW algorithm in addition to automatic binary quantization for scalable approximate kNN
172+
* search with `element_type` of `float`.
173+
*
174+
* This can reduce the memory footprint by nearly 32x at the cost of some accuracy.
175+
*/
176+
bbq_hnsw,
165177
/**
166178
* This utilizes a brute-force search algorithm for exact kNN search. This supports all `element_type` values.
167179
*/

0 commit comments

Comments
 (0)