elasticsearch/docs/reference
Benjamin Trent b2c1c4e0f0
New vector_rescore parameter as a quantized index type option (#124581)
This adds a new parameter to the quantized index mapping that allows
default oversampling and rescoring to occur. 

This doesn't adjust any of the defaults. It allows it to be configured.
When the user provides `rescore_vector: {oversample: <number>}` in the
query it will overwrite it.

For example, here is how to use it with bbq:

```
PUT rescored_bbq
{
  "mappings": {
    "properties": {
      "vector": {
        "type": "dense_vector",
        "index_options": {
          "type": "bbq_hnsw",
          "rescore_vector": {"oversample": 3.0}
        }
      }
    }
  }
}
```

Then, when querying, it will auto oversample the `k` by `3x` and rerank
with the raw vectors.

```
POST _search
{
  "knn": {
    "query_vector": [...],
    "field": "vector"
  }
}
```
2025-03-14 00:40:08 +11:00
..
data-analysis ESQL autogenerate docs v3 (#124312) 2025-03-13 14:16:46 +01:00
elasticsearch New vector_rescore parameter as a quantized index type option (#124581) 2025-03-14 00:40:08 +11:00
elasticsearch-plugins [DOCS] Plugin management reference cleanup (#124578) 2025-03-12 17:01:10 +01:00
indices Add index mode to get data stream API (#122486) 2025-03-06 07:39:58 +11:00
ingestion-tools [DOCS] fix external links (#124248) 2025-03-06 17:27:03 +01:00
query-languages ESQL autogenerate docs v3 (#124312) 2025-03-13 14:16:46 +01:00
scripting-languages [DOCS] fix external links (#124248) 2025-03-06 17:27:03 +01:00
search/search-your-data [docs] Migrate docs from AsciiDoc to Markdown (#123507) 2025-02-27 17:56:14 +01:00
setup/install/docker [docs] Migrate docs from AsciiDoc to Markdown (#123507) 2025-02-27 17:56:14 +01:00
watcher/images [docs] Migrate docs from AsciiDoc to Markdown (#123507) 2025-02-27 17:56:14 +01:00
community-contributed.md Fix broken cross-repo links, versions in search connectors docker instructions (#123700) 2025-02-28 16:02:54 +01:00
index.md [docs] Migrate docs from AsciiDoc to Markdown (#123507) 2025-02-27 17:56:14 +01:00
toc.yml [DOCS] Plugin management reference cleanup (#124578) 2025-03-12 17:01:10 +01:00