Skip to content

Commit 3e97c19

Browse files
authored
Adding bbq index types to specification (#4181)
1 parent 509f88a commit 3e97c19

File tree

8 files changed

+59
-27
lines changed

8 files changed

+59
-27
lines changed

output/openapi/elasticsearch-openapi.json

Lines changed: 4 additions & 2 deletions
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: 4 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

output/schema/schema-serverless.json

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

output/schema/schema.json

Lines changed: 11 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.

package-lock.json

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

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"dependencies": {
3-
"@redocly/cli": "^1.34.0",
3+
"@redocly/cli": "^1.34.1",
44
"@stoplight/spectral-cli": "^6.14.2"
55
}
66
}

specification/_types/mapping/DenseVectorProperty.ts

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -144,14 +144,14 @@ export class DenseVectorIndexOptions {
144144
/**
145145
* The number of candidates to track while assembling the list of nearest neighbors for each new node.
146146
*
147-
* Only applicable to `hnsw`, `int8_hnsw`, and `int4_hnsw` index types.
147+
* Only applicable to `hnsw`, `int8_hnsw`, `bbq_hnsw`, and `int4_hnsw` index types.
148148
* @server_default 100
149149
*/
150150
ef_construction?: integer
151151
/**
152152
* The number of neighbors each node will be connected to in the HNSW graph.
153153
*
154-
* Only applicable to `hnsw`, `int8_hnsw`, and `int4_hnsw` index types.
154+
* Only applicable to `hnsw`, `int8_hnsw`, `bbq_hnsw`, and `int4_hnsw` index types.
155155
* @server_default 16
156156
*/
157157
m?: integer
@@ -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)