From 0ddd96217a6ba40c5329b4d5f3c42f414a532b0c Mon Sep 17 00:00:00 2001 From: Natasha Boyse Date: Mon, 17 Feb 2025 10:19:03 +0000 Subject: [PATCH] chore: fix redbox tests --- redbox-core/tests/test_ingest.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/redbox-core/tests/test_ingest.py b/redbox-core/tests/test_ingest.py index b722858f..7ee221b8 100644 --- a/redbox-core/tests/test_ingest.py +++ b/redbox-core/tests/test_ingest.py @@ -247,7 +247,7 @@ def test_ingest_from_loader( metadata=metadata, ) - mapping = {"properties": {"embedding": {"type": "dense_vector", "dims": 1024}}} + mapping = {"properties": {"embedding": {"type": "knn_vector", "dimension": 1024}}} es_client.indices.create(index="my_index", body={"mappings": mapping})