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
C++ algoliadatastoreelasticsearchenterprise-searchfacetingfull-text-searchfuzzy-searchgeosearchin-memoryinstantsearchmerchandisingpineconesearchsearch-enginesemantic-searchsimilarity-searchsite-searchsynonymstypo-tolerancevector-search
Fix benchmark prog compile.
Kishore Nallane93971a747b6
diff --git a/src/main/benchmark.cpp b/src/main/benchmark.cppindex 011e7527..1fe7dcb3 100644--- a/src/main/benchmark.cpp+++ b/src/main/benchmark.cpp@@ -46,7 +46,8 @@ void benchmark_hn_titles(char* file_path) {Store *store = new Store("/tmp/typesense-data");CollectionManager & collectionManager = CollectionManager::get_instance();- collectionManager.init(store, 4, "abcd");+ std::atomic<bool> quit;+ collectionManager.init(store, 1, "abcd", quit);collectionManager.load(100, 100);Collection *collection = collectionManager.get_collection("hnstories_direct").get();@@ -116,7 +117,8 @@ void benchmark_reactjs_pages(char* file_path) {Store *store = new Store("/tmp/typesense-data");CollectionManager & collectionManager = CollectionManager::get_instance();- collectionManager.init(store, 4, "abcd");+ std::atomic<bool> quit;+ collectionManager.init(store, 4, "abcd", quit);collectionManager.load(100, 100);Collection* collection = collectionManager.get_collection("reactjs_pages").get();