Skip to content

Open Source alternative to Algolia + Pinecone and an Easier-to-Use alternative to ElasticSearch ⚡ 🔍 ✨ Fast, typo tolerant, in-memory fuzzy Search Engine for building delightful search experiences

Fix CollectionManagerTest.RestoreRecordsOnRestart

Harpreet Sangaraad34c8c5c5b
diff --git a/test/collection_manager_test.cpp b/test/collection_manager_test.cpp
index dc835fe2..882f92fd 100644
--- a/test/collection_manager_test.cpp
+++ b/test/collection_manager_test.cpp
@@ -37,7 +37,7 @@ protected:
{"name": "points", "type": "int32"},
{"name": "person", "type": "object", "optional": true},
{"name": "vec", "type": "float[]", "num_dim": 128, "optional": true},
- {"name": "product_id", "type": "string", "reference": "Products.product_id"}
+ {"name": "product_id", "type": "string", "reference": "Products.product_id", "optional": true}
],
"default_sorting_field": "points",
"symbols_to_index":["+"],