From ad7610865074d3e10acc7fedaa9ba00d185c6b21 Mon Sep 17 00:00:00 2001 From: shainaraskas Date: Tue, 22 Jul 2025 14:19:14 -0400 Subject: [PATCH 1/2] clarify dv field update graph availability --- .../elasticsearch/mapping-reference/dense-vector.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/docs/reference/elasticsearch/mapping-reference/dense-vector.md b/docs/reference/elasticsearch/mapping-reference/dense-vector.md index 7f3a701bde3f8..06a85b0316e96 100644 --- a/docs/reference/elasticsearch/mapping-reference/dense-vector.md +++ b/docs/reference/elasticsearch/mapping-reference/dense-vector.md @@ -396,9 +396,17 @@ POST /my-bit-vectors/_search?filter_path=hits.hits To better accommodate scaling and performance needs, updating the `type` setting in `index_options` is possible with the [Update Mapping API](https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-indices-put-mapping), according to the following graph (jumps allowed): +::::{tab-set} +:::{tab-item} {{stack}} 9.1+ ```txt flat --> int8_flat --> int4_flat --> bbq_flat --> hnsw --> int8_hnsw --> int4_hnsw --> bbq_hnsw ``` +::: +:::{tab-item} {{stack}} 9.0 +```txt +flat --> int8_flat --> int4_flat --> hnsw --> int8_hnsw --> int4_hnsw +``` +::: For updating all HNSW types (`hnsw`, `int8_hnsw`, `int4_hnsw`, `bbq_hnsw`) the number of connections `m` must either stay the same or increase. For the scalar quantized formats `int8_flat`, `int4_flat`, `int8_hnsw` and `int4_hnsw` the `confidence_interval` must always be consistent (once defined, it cannot change). From bf9f24ff438399a9391b7c8e5b0ac562e2665662 Mon Sep 17 00:00:00 2001 From: shainaraskas Date: Tue, 22 Jul 2025 14:38:50 -0400 Subject: [PATCH 2/2] close tabset --- docs/reference/elasticsearch/mapping-reference/dense-vector.md | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/reference/elasticsearch/mapping-reference/dense-vector.md b/docs/reference/elasticsearch/mapping-reference/dense-vector.md index 06a85b0316e96..985f62f37eec9 100644 --- a/docs/reference/elasticsearch/mapping-reference/dense-vector.md +++ b/docs/reference/elasticsearch/mapping-reference/dense-vector.md @@ -407,6 +407,7 @@ flat --> int8_flat --> int4_flat --> bbq_flat --> hnsw --> int8_hnsw --> int4_hn flat --> int8_flat --> int4_flat --> hnsw --> int8_hnsw --> int4_hnsw ``` ::: +:::: For updating all HNSW types (`hnsw`, `int8_hnsw`, `int4_hnsw`, `bbq_hnsw`) the number of connections `m` must either stay the same or increase. For the scalar quantized formats `int8_flat`, `int4_flat`, `int8_hnsw` and `int4_hnsw` the `confidence_interval` must always be consistent (once defined, it cannot change).