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

Change `search_by` to `query_by`.

Kishore Nallanca3a55974e00
diff --git a/TODO.md b/TODO.md
index 01240c98..31b91a76 100644
--- a/TODO.md
+++ b/TODO.md
@@ -69,7 +69,7 @@
- ~~Test for pagination~~
- ~~search_fields, sort_fields and facet fields should be combined~~
- ~~facet fields should be indexed verbatim~~
-- change "search_by" to "query_by"
+- ~~change "search_by" to "query_by"~~
- during index_in_memory() validations should be front loaded
- NOT operator support
- test for token ranking on float field
diff --git a/src/api.cpp b/src/api.cpp
index 93619a40..5ccae02d 100644
--- a/src/api.cpp
+++ b/src/api.cpp
@@ -112,7 +112,7 @@ void get_search(http_req & req, http_res & res) {
const char *NUM_TYPOS = "num_typos";
const char *PREFIX = "prefix";
const char *FILTER = "filter_by";
- const char *SEARCH_BY = "search_by";
+ const char *SEARCH_BY = "query_by";
const char *SORT_BY = "sort_by";
const char *FACET_BY = "facet_by";
const char *PER_PAGE = "per_page";