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

Log at the beginning of alter.

Kishore Nallancf9cfa68d19a
diff --git a/src/collection.cpp b/src/collection.cpp
index 1e07de6c..be392d8b 100644
--- a/src/collection.cpp
+++ b/src/collection.cpp
@@ -3784,6 +3784,8 @@ Option<bool> Collection::batch_alter_data(const std::vector<field>& alter_fields
Option<bool> Collection::alter(nlohmann::json& alter_payload) {
std::unique_lock lock(mutex);
+ LOG(INFO) << "Collection " << name << " is being prepared for alter...";
+
// Validate that all stored documents are compatible with the proposed schema changes.
std::vector<field> del_fields;
std::vector<field> addition_fields;