elasticsearch/docs/reference/how-to
Benjamin Trent f00364aefd
Add byte quantization for float vectors in HNSW (#102093)
Adds new `quantization_options` to `dense_vector`. This allows for
vectors to be automatically quantized to `byte` when indexed.

Example:

```
PUT vectors
{
  "mappings": {
    "properties": {
      "my_vector": {
        "type": "dense_vector",
        "index": true,
        "index_options": {
          "type": "int8_hnsw"
        }
      }
    }
  }
}
```

When querying, the query vector is automatically quantized and used when
querying the HNSW graph. This reduces the memory required to only `25%`
of what was previously required for `float` vectors at a slight loss of
accuracy.

This is currently only available when `index: true` and when using
`hnsw`
2023-11-29 12:29:55 -05:00
..
recipes [DOCS] Fix typos (#83895) 2022-02-15 12:42:17 -05:00
disk-usage.asciidoc [DOCS] Deprecate rollups (#101265) 2023-10-25 16:52:25 -04:00
fix-common-cluster-issues.asciidoc Fix docs for explaining unassigned shards (#97538) 2023-07-11 08:01:12 +01:00
general.asciidoc [DOCS] Use dedicated hosts for ES (#77582) 2021-09-21 17:50:21 -04:00
indexing-speed.asciidoc [DOCS] Remove redirect pages (#88738) 2023-05-24 12:32:46 +01:00
knn-search.asciidoc Add byte quantization for float vectors in HNSW (#102093) 2023-11-29 12:29:55 -05:00
recipes.asciidoc Update the how-to section of the docs for 7.0: (#37717) 2019-03-12 08:23:53 +01:00
search-speed.asciidoc [DOCS] Typo in Search speed (#91934) 2022-11-28 13:55:47 +01:00
size-your-shards.asciidoc Adjust sizing guidance re. doc count (#97831) 2023-07-20 14:56:52 +01:00
use-elasticsearch-for-time-series-data.asciidoc [DOCS] Remove redirect pages (#88738) 2023-05-24 12:32:46 +01:00