Skip to content

Commit 9dd1181

Browse files
committed
Adding new bbq_disk index type
1 parent eca6d46 commit 9dd1181

File tree

5 files changed

+27
-7
lines changed

5 files changed

+27
-7
lines changed

output/openapi/elasticsearch-openapi.json

Lines changed: 2 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

output/openapi/elasticsearch-serverless-openapi.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

output/schema/schema.json

Lines changed: 13 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

output/typescript/types.ts

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

specification/_types/mapping/DenseVectorProperty.ts

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ export class DenseVectorIndexOptions {
160160
*/
161161
type: DenseVectorIndexOptionsType
162162
/**
163-
* The rescore vector options. This is only applicable to `bbq_hnsw`, `int4_hnsw`, `int8_hnsw`, `bbq_flat`, `int4_flat`, and `int8_flat` index types.
163+
* The rescore vector options. This is only applicable to `bbq_disk`, `bbq_hnsw`, `int4_hnsw`, `int8_hnsw`, `bbq_flat`, `int4_flat`, and `int8_flat` index types.
164164
*/
165165
rescore_vector?: DenseVectorIndexOptionsRescoreVector
166166
}
@@ -178,6 +178,15 @@ export enum DenseVectorIndexOptionsType {
178178
* This can reduce the memory footprint by nearly 32x at the cost of some accuracy.
179179
*/
180180
bbq_hnsw,
181+
/**
182+
* This utilizes the DiskBBQ algorithm, a version of Inverted Vector File (IVF) that uses BBQ to quantize vectors.
183+
* Only supports `element_type` of `float`.
184+
*
185+
* This not only significantly reduces memory usage, but also allows for indexing and searching of very large datasets that do not fit in memory.
186+
* Unlike HNSW, this index type loses performance gracefully as the index grows larger than memory.
187+
* @availability stack since=9.2.0 stability=stable
188+
*/
189+
bbq_disk,
181190
/**
182191
* This utilizes a brute-force search algorithm for exact kNN search. This supports all `element_type` values.
183192
*/

0 commit comments

Comments
 (0)