Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Backport 2.18] Branch9065 #9071

Merged
merged 1 commit into from
Jan 15, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading