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 typo in import parameter.

Kishore Nallan06ce31198703
diff --git a/src/core_api.cpp b/src/core_api.cpp
index b14ed6e2..613217dd 100644
--- a/src/core_api.cpp
+++ b/src/core_api.cpp
@@ -713,7 +713,7 @@ bool post_import_documents(const std::shared_ptr<http_req>& req, const std::shar
}
if(req->params.count(RETURN_ID) == 0) {
- req->params[RETURN_RES] = "false";
+ req->params[RETURN_ID] = "false";
}
if(!StringUtils::is_uint32_t(req->params[BATCH_SIZE])) {