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

#10: Enable prefix searching by default since that seems more intuitive.

Kishore Nallanba96092f1319
diff --git a/src/api.cpp b/src/api.cpp
index 64af68b2..9a286a9d 100644
--- a/src/api.cpp
+++ b/src/api.cpp
@@ -163,7 +163,7 @@ void get_search(http_req & req, http_res & res) {
}
if(req.params.count(PREFIX) == 0) {
- req.params[PREFIX] = "false";
+ req.params[PREFIX] = "true";
}
if(req.params.count(QUERY) == 0) {