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})