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
Snappy compression is enabled by default but setting it explicitly nevertheless.
Kishore Nallan3cdeff781461
diff --git a/TODO.md b/TODO.mdindex 87cd8c58..7065f3e4 100644--- a/TODO.md+++ b/TODO.md@@ -96,7 +96,7 @@- ~~gzip compress responses~~- ~~Have a LOG(ERROR) level~~- ~~Handle SIGTERM which is sent when process is killed~~-- Use snappy compression for storage+- ~~Use snappy compression for storage~~- Exact search- NOT operator support- Log operationsdiff --git a/include/store.h b/include/store.hindex ae437878..809fe50e 100644--- a/include/store.h+++ b/include/store.h@@ -63,6 +63,7 @@ public:options.write_buffer_size = 4*1048576;options.max_write_buffer_number = 2;options.merge_operator.reset(new UInt64AddOperator);+ options.compression = rocksdb::CompressionType::kSnappyCompression;// these need to be high for replication scenariosoptions.WAL_ttl_seconds = wal_ttl_secs;