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 double locking of collection mutex.

Harpreet Sangarcdfa3b7a708c
diff --git a/src/collection.cpp b/src/collection.cpp
index 737341f2..95190ac7 100644
--- a/src/collection.cpp
+++ b/src/collection.cpp
@@ -1515,7 +1515,6 @@ Option<nlohmann::json> Collection::search(std::string raw_query,
}
// for grouping we have to re-aggregate
-
Topster& topster = *search_params->topster;
Topster& curated_topster = *search_params->curated_topster;