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
C++ algoliadatastoreelasticsearchenterprise-searchfacetingfull-text-searchfuzzy-searchgeosearchin-memoryinstantsearchmerchandisingpineconesearchsearch-enginesemantic-searchsimilarity-searchsite-searchsynonymstypo-tolerancevector-search
Fix debug flag.
Kishore Nallan1c36238f19ae
diff --git a/CMakeLists.txt b/CMakeLists.txtindex 18102345..3c9c4ba1 100644--- a/CMakeLists.txt+++ b/CMakeLists.txt@@ -2,7 +2,7 @@ cmake_minimum_required(VERSION 2.8)project(search)set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11 -stdlib=libc++ -std=gnu++11 -O2")-set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS_DEBUG} -std=c++11 -stdlib=libc++ -std=gnu++11 -O0")+set(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} -std=c++11 -stdlib=libc++ -std=gnu++11 -O0")# FIXME: Need to use find_package() to locate the correct openssl library# FIXME: build libfor as part of the build process@@ -12,7 +12,7 @@ include_directories(external/for)include_directories(/usr/local/opt/openssl/include)add_executable(search src/art.cpp src/intersection.cpp src/main.cpp src/collection.cpp)-add_executable(typesense-server src/art.cpp src/intersection.cpp src/collection.cpp src/search_server.cpp)+add_executable(typesense-server src/art.cpp src/intersection.cpp src/collection.cpp src/server.cpp)target_link_libraries(search ${CMAKE_SOURCE_DIR}/external/for/libfor.a)target_link_libraries(typesense-server ${CMAKE_SOURCE_DIR}/external/for/libfor.a curl h2o-evloop pthread /usr/local/opt/openssl/lib/libssl.a /usr/local/opt/openssl/lib/libcrypto.a)\ No newline at end of filediff --git a/src/search_server.cpp b/src/server.cppsimilarity index 100%rename from src/search_server.cpprename to src/server.cpp