Skip to content

Commit

Permalink
fixing vector test
Browse files Browse the repository at this point in the history
  • Loading branch information
slorello89 committed Nov 26, 2024
1 parent 612930b commit 760566a
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand All @@ -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"
Expand Down

0 comments on commit 760566a

Please sign in to comment.