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

Print TS version ahead of invalid configuration message.

Kishore Nallane0e5d4905377
diff --git a/src/main/typesense_server.cpp b/src/main/typesense_server.cpp
index 30b7281d..69ef1590 100644
--- a/src/main/typesense_server.cpp
+++ b/src/main/typesense_server.cpp
@@ -144,6 +144,7 @@ int main(int argc, char **argv) {
Option<bool> config_validitation = config.is_valid();
if(!config_validitation.ok()) {
+ std::cerr << "Typesense " << TYPESENSE_VERSION << std::endl;
std::cerr << "Invalid configuration: " << config_validitation.error() << std::endl;
std::cerr << "Command line " << options.usage() << std::endl;
std::cerr << "You can also pass these arguments as environment variables such as "