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 search target compile error.

Kishore Nallanaf8324d52a39
diff --git a/src/main/main.cpp b/src/main/main.cpp
index edfb99cb..16e177fb 100644
--- a/src/main/main.cpp
+++ b/src/main/main.cpp
@@ -34,7 +34,7 @@ int main(int argc, char* argv[]) {
Collection *collection = collectionManager.get_collection("github_top1k");
if(collection == nullptr) {
- collection = collectionManager.create_collection("github_top1k", fields_to_index).get();
+ collection = collectionManager.create_collection("github_top1k", fields_to_index, "stars").get();
}
int j = 0;