From 760566ad2c976070270a77956f23bd186deb3348 Mon Sep 17 00:00:00 2001 From: slorello89 Date: Tue, 26 Nov 2024 09:13:10 -0500 Subject: [PATCH] fixing vector test --- .../RediSearchTests/VectorTests/VectorTests.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/Redis.OM.Unit.Tests/RediSearchTests/VectorTests/VectorTests.cs b/test/Redis.OM.Unit.Tests/RediSearchTests/VectorTests/VectorTests.cs index 5c03346..7df3064 100644 --- a/test/Redis.OM.Unit.Tests/RediSearchTests/VectorTests/VectorTests.cs +++ b/test/Redis.OM.Unit.Tests/RediSearchTests/VectorTests/VectorTests.cs @@ -34,7 +34,7 @@ public void CreateIndexWithVector() "1", $"Redis.OM.Unit.Tests.{nameof(ObjectWithVector)}:", "SCHEMA", - "$.Name", "AS", "Name", "TAG", "SEPARATOR", "|", + "$.Name", "AS", "Name", "TAG", "SEPARATOR", "|", "INDEXMISSING", "INDEXEMPTY", "$.Num", "AS", "Num", "NUMERIC", "$.SimpleHnswVector", "AS", "SimpleHnswVector", "VECTOR", "HNSW", "6", "TYPE", "FLOAT64", "DIM", "10", "DISTANCE_METRIC", "L2", "$.SimpleVectorizedVector.Vector", "AS","SimpleVectorizedVector", "VECTOR", "FLAT", "6", "TYPE", "FLOAT32", "DIM", "30", "DISTANCE_METRIC", "L2" @@ -51,7 +51,7 @@ public void CreateIndexWithVector() "1", $"Redis.OM.Unit.Tests.{nameof(ObjectWithVectorHash)}:", "SCHEMA", - "Name", "TAG", "SEPARATOR", "|", + "Name", "TAG", "SEPARATOR", "|", "INDEXMISSING", "INDEXEMPTY", "Num", "NUMERIC", "SimpleHnswVector", "VECTOR", "HNSW", "6", "TYPE", "FLOAT64", "DIM", "10", "DISTANCE_METRIC", "L2", "SimpleVectorizedVector.Vector", "AS", "SimpleVectorizedVector", "VECTOR", "FLAT", "6", "TYPE", "FLOAT32", "DIM", "30", "DISTANCE_METRIC", "L2"