Skip to content

Commit

Permalink
Branch9065 (#9066) (#9071)
Browse files Browse the repository at this point in the history
* fixing quantization queries - wip



* Fixed ondisk binary quantization queries



---------




(cherry picked from commit b9b00e2)

Signed-off-by: Aruna Govindaraju <[email protected]>
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Aruna Govindaraju <[email protected]>
Co-authored-by: kolchfa-aws <[email protected]>
  • Loading branch information
4 people authored Jan 15, 2025
1 parent a94701b commit 41c67c4
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions _search-plugins/knn/knn-vector-quantization.md
Original file line number Diff line number Diff line change
Expand Up @@ -321,6 +321,11 @@ To configure BQ for the Faiss engine, define a `knn_vector` field and specify th
```json
PUT my-vector-index
{
"settings" : {
"index": {
"knn": true
}
},
"mappings": {
"properties": {
"my_vector_field": {
Expand Down Expand Up @@ -349,6 +354,11 @@ To specify the compression level, set the `compression_level` parameter:
```json
PUT my-vector-index
{
"settings" : {
"index": {
"knn": true
}
},
"mappings": {
"properties": {
"my_vector_field": {
Expand All @@ -359,6 +369,8 @@ PUT my-vector-index
"mode": "on_disk",
"compression_level": "16x",
"method": {
"name": "hnsw",
"engine": "faiss",
"parameters": {
"ef_construction": 16
}
Expand All @@ -375,6 +387,11 @@ The following example further fine-tunes the configuration by defining `ef_const
```json
PUT my-vector-index
{
"settings" : {
"index": {
"knn": true
}
},
"mappings": {
"properties": {
"my_vector_field": {
Expand Down

0 comments on commit 41c67c4

Please sign in to comment.