Manticore Search
Full-text search and data analytics, with fast response time for small, medium and big data (alternative to Elasticsearch).
Alternatives
Tech stack
No tech stack added yet. Sign in to suggest some
Introduction
Manticore Search is an easy-to-use, fast, open-source search database developed by manticoresoftware and released under GPLv3 or later. Its native query syntax is SQL, it is compatible with the MySQL protocol, and it also provides an HTTP JSON API whose write endpoints are compatible with Elasticsearch. The project describes itself as a strong alternative to Elasticsearch. Craigslist, Socialgist, PubChem, Rozetka and others use it for search and streaming filtering.
Key Features
Search capabilities
- Full-text search: Offers more than 20 full-text operators and more than 20 ranking factors, with customizable ranking
- Hybrid search: Combines full-text search and vector (KNN) search in a single query
- Conversational search: Works on vectorized tables, combining KNN search, conversation history and a large language model to generate answers, and is invoked through SQL
CALL CHATor the HTTP JSON/searchendpoint - Supports fuzzy search, faceted search, geospatial search, spelling correction, autocomplete, table joins (JOIN) and a rich set of filtering functions
Natural language processing
- Stemming, lemmatization, stop words, synonyms and word forms
- Advanced tokenization settings at the character and word level
- Chinese word segmentation (ICU)
- Search result highlighting
Storage and performance
- Row-wise storage: Uses more memory and offers the best performance
- Columnar storage: Provided by the Manticore Columnar Library, suited to large datasets that don't fit in memory
- Docstore: Uses no memory, but can only retrieve original values
- Secondary indexes are built automatically based on the PGM-index
- Cost-based query optimizer
- Multi-threaded parallel query execution that makes full use of all CPU cores
- An empty instance uses only about 40MB of memory (RSS) and starts quickly
High availability and security
- Sharded tables: reads and writes can be distributed across multiple physical shards on a single node or in a replication cluster
- Near-synchronous multi-master replication based on Galera, with built-in load balancing
- Built-in authentication and authorization: supports users, Bearer Tokens and fine-grained permissions
- Supports HTTPS and read-only mode
- Supports isolated transactions and binary logs, but is not fully ACID-compliant
- Backups can be made with the
manticore-backuptool or the SQLBACKUPcommand, and backing up to S3-compatible storage is also supported
Streaming filtering
- Uses percolate tables for reverse search (streaming filtering)
- Integrates with Kafka
Ecosystem and Integrations
- Official clients: PHP, Python (including an asyncio version), JavaScript, TypeScript, Java, Elixir, Go, Rust
- Data synchronization: MySQL, PostgreSQL, MS SQL, ODBC, XML, CSV, Kafka
- Tool integrations: Grafana, Apache Superset, Kibana, Logstash/Filebeat, Fluentbit, Vector.dev, ProxySQL, mysqldump
- MySQL integration: Can be connected through the SphinxSE storage engine or the FEDERATED engine
- Third-party integrations: Laravel, MediaWiki, TikiWiki, SilverStripe, SearX and more
Performance
The project has published the following results from reproducible benchmarks (db-benchmarks):
- Searching 1.1 million Hacker News comments: about 340 times faster than MySQL and about 6.5 times faster than Typesense
- Searching over 100 million comments: about 3.85 times faster than a tuned Elasticsearch
- Log and data analytics queries: also outperforms Elasticsearch and ClickHouse
The project also notes that these results depend on the specific workload.
Installation and Deployment
One-line install (Linux / macOS with Homebrew):
curl https://manticoresearch.com | sh
The script automatically detects Debian/Ubuntu/Mint, RPM-based systems such as RHEL/CentOS/Fedora, and macOS, then installs and starts Manticore.
Trying it with Docker:
docker run --name manticore --rm -d manticoresearch/manticore
Once the container is running, connect with docker exec -it manticore mysql. This command is only suitable for testing; for production usage, see the official Docker documentation.
APT (Ubuntu/Debian):
wget https://repo.manticoresearch.com/manticore-repo.noarch.deb
sudo apt install ./manticore-repo.noarch.deb
sudo apt update && sudo apt install manticore
RPM (RHEL/CentOS, etc.):
sudo yum install https://repo.manticoresearch.com/manticore-repo.noarch.rpm
sudo yum install manticore
macOS Homebrew:
brew install manticoresoftware/tap/manticoresearch manticoresoftware/tap/manticore-extra
Windows: You can use the Linux installation method in WSL/WSL2, or install natively following the official documentation.
Who It's For
Suitable for:
- Developers who need to add on-site search to a website, e-commerce store or application
- Teams looking for a lighter, less resource-hungry alternative to Elasticsearch
- Operations and data engineers who need log analysis or large-scale data search
- AI developers who want to build vector search, hybrid search or RAG-style applications
Notable Characteristics
- SQL-first and compatible with the MySQL protocol, so any MySQL client can connect directly, which keeps the learning curve low
- Newly written or updated documents are searchable immediately
- Interactive online courses (play.manticoresearch.com) are available for learning
- Active community with a forum, Slack and Telegram groups
Discover more
Typesense
Blazing fast, typo-tolerant open source search engine optimized for developer happiness and ease of use.
OpenSearch
Distributed and RESTful search engine.
Aleph
Tool for indexing large amounts of both documents (PDF, Word, HTML) and structured (CSV, XLS, SQL) data for easy browsing and search. It is built with investigative reporting as a primary use case.
Amgix
Amgix (a-MAG-ix) is a modular distributed hybrid search system
Apache Solr
Enterprise search platform featuring full-text search, hit highlighting, faceted search, real-time indexing, dynamic clustering, and rich document (e.g., Word, PDF) handling.
LMS
Access your self-hosted music using a web interface.