Meilisearch
Free
Meilisearch is an open source AI search engine based on Rust. It is known for its extremely fast search response and excellent developer experience. It supports instant search, spelling tolerance and semantic search.
Meilisearch AI: Dismantling of the AI search capabilities of open source search engines
Core parameters and statistics
| Parameter | Value |
|---|---|
| Product Positioning | An open source search engine for developers, with extremely fast response and AI semantic search as its core competitiveness |
| Core form | Search API + Docker image + managed cloud service |
| Target users | Web/mobile developers, SaaS product teams, data-intensive applications |
| Core technology stack | Rust native engine, inverted index, vector embedding search, spelling tolerance, federated search |
| License Agreement | MIT (the core engine is completely open source) |
| Deployment method | Docker self-hosted / Meilisearch Cloud (AWS Europe/US Region) |
| Programming Languages | Rust (Core Engine) |
| Parent company | Meilisearch SAS (Paris, France) |
| GitHub Stars | About 50,000+ |
| Docker pull volume | Over 100 million times (based on Docker Hub public data) |
Meilisearch has formed a duo with Typesense in the open source search market. Both are positioned as "Elasticsearch alternatives", but there are significant differences in technical routes and execution strategies. Meilisearch's differentiated advantages are reflected in three levels: Rust core engine - Compared with Elasticsearch's Java stack and Typesense's C++ core, Rust has inherent advantages in memory safety and concurrency performance, and the throughput is 2-5 times higher under the same hardware; MIT license - It is more relaxed than Typesense's GPL license, and there is no need to worry about copyleft contagion when integrating enterprises. This is why many commercial companies choose Meilisearch instead of Typesense. Legal motivation; Built-in semantic search - Vector search is supported in version v1.0, and Typesense did not add this capability until later versions. From an architectural philosophy, Meilisearch pursues "out-of-the-box performance" - the default configuration can provide an excellent experience, while Elasticsearch requires a lot of tuning to achieve production-level performance.
User and market recognition
Meilisearch's market penetration presents a two-wheel drive pattern of "community-driven + enterprise long-tail adoption", which complements Elasticsearch's large-factory-led ecosystem.
Community Ecology: GitHub has approximately 50,000+ Stars and 800+ contributors forming an active developer community. Daily active discussions on the official Discord channel focus on performance tuning, Chinese word segmentation and cloud service experience. Plug-ins and integrations contributed by the community cover mainstream web frameworks such as Laravel, Rails, Django, and Symfony, as well as front-end meta-frameworks such as Nuxt and Next.js. This "framework native integration" strategy reduces developers' trial and error costs - it only takes 10 minutes from reading the documentation to running through the search.
Enterprise adoption: Publicly available adoption cases cover e-commerce (fashion retailers, second-hand trading platforms), SaaS (project management tools, customer support systems), content platforms (news websites, document centers) and other fields. France's leading e-commerce platform and several European SaaS companies have adopted Meilisearch as the core engine for on-site search. However, compared with the US market (dominated by Algolia and Elastic Cloud), Meilisearch's brand awareness in North America still has room to improve. The current user base is mainly European and Asia-Pacific developers.
Industry benchmarking: In the "developer experience" dimension of open source search engines (refer to the JetBrains developer ecosystem survey), Meilisearch continues to lead Elasticsearch in the two indicators of "ease of use" and "document quality", but there is still a gap in "enterprise-level functional completeness" and "cluster scale expansion". Third-party performance comparison tests (such as the open source community benchmark) show that the median search latency of Meilisearch in a single-node 10 million document scenario is about 1/3-1/5 of Elasticsearch. However, the data import throughput is low under the default configuration, and the write buffer needs to be tuned to reach the equivalent level.
Technical media evaluation: InfoWorld called Meilisearch "the most powerful open source alternative to Elasticsearch" in its evaluation, and PCMag emphasized its advantage in "developer speed to get started." Discussions about Meilisearch in Chinese technical communities (such as Nuggets V2EX) focus on the selection comparison with Typesense. The simplicity of its API design is generally recognized, but the granularity problem of Chinese word segmentation is also frequently mentioned. The word segmentation of standard terms such as "artificial intelligence" performs well, but when encountering composite technical terms such as "nano coating waterproofing", the word segmentation results may appear to cut "nano coating" into two independent words "nano" and "coating", affecting the recall rate of precise searches.
Cost advantage
Meilisearch's cost structure needs to be split into three layers: "software licensing fee + infrastructure fee + operation and maintenance manpower". The total cost of ownership (TCO) under different preferences can vary by more than 10 times.
C-side/open source self-hosting - zero cost for software, infrastructure is borne by yourself:
- The MIT license means there are no licensing fees and it can be used for free in commercial projects, including closed source commercial software.
- The minimum hardware threshold for self-hosting is low: 2GB memory + 1 core CPU is recommended to run small and medium-sized indexes (within 1 million documents). A low-configuration cloud server instance (such as 4GB RAM, 2-core 50GB SSD, about ¥200/month) can host small e-commerce site searches without additional software costs.
- But please note: built-in master-slave replication requires additional nodes, high-availability deployment requires at least a 3-node cluster, and infrastructure costs increase linearly.
API/Developer - Cloud hosting pay-as-you-go, zero operation and maintenance burden:
- Meilisearch Cloud provides a free quota of approximately 100,000 searches/month, after which it will be billed based on specifications and usage.
- Starting node costs about $50-100/month (including 1 million searches + 1GB index storage), suitable for small and medium-sized projects with an average of thousands of searches per day.
- Less price transparency and bidding flexibility than AWS OpenSearch Serverless, but better with zero configuration—no clusters to manage, no sharding to tune, and production-grade search quality out of the box.
- It is recommended to compare the TCO of self-hosting in high-frequency API call scenarios: taking an average of 5 million searches per month for a 50GB index as an example, the annual fee for cloud hosting is about $3,000-6,000, and self-hosting requires a 4-core 16GB instance for about ¥500-800/month (yearly ¥6,000-9,600)+ In terms of operation and maintenance manpower, there is not much difference between the two at the same scale. However, after self-hosting has more operation and maintenance, the hidden advantage of cloud hosting is that it does not require operation and maintenance.
Corporate/Privatized – Exclusive Cluster, Business Negotiation Required:
- Supports unlimited searches from Starlite (starting version ¥3,000-6,000/month, about 100,000 searches) to Enterprise level. The price needs to be obtained by contacting sales through the official website.
- SSO integration, audit logs, custom SLA and dedicated node isolation are entry points for scenarios with high compliance requirements (finance, government affairs).
- Compared with self-hosting, the core premium of the enterprise version lies in "free operation and maintenance" and "SLA guarantee" - in self-hosting, if a node goes down and the search is unavailable, the team needs to handle it by itself; in the cloud-hosted version, Meilisearch is responsible for infrastructure stability.
Competitive product price comparison:
| Cost Dimension | Meilisearch Self-Hosted | Meilisearch Cloud | Typesense Cloud | Algolia | Elastic Cloud |
|---|---|---|---|---|---|
| Software Licensing | Free (MIT) | Free (based on usage after free quota) | Free (GPL) | By usage | By usage |
| Starting cost | Server starting from ¥200/month | $50-100/month | $75-150/month | $100-300/month | Starting from $95/month |
| Annual payment of 10 million searches | Server ¥3,000-6,000 | $3,000-6,000 | ~$4,500 | ~$12,000 | ~$10,000 |
| Operation and maintenance team cost | Requires 0.2-0.5 man-days/week | 0 | 0 | 0 | 0.1-0.3 man-days/week |
| Commercial licensing risk | None (MIT) | None | GPL contagion risk | Vendor lock-in | Vendor lock-in |
Key conclusion: For medium-sized projects with a complete technical team (able to manage Docker and basic operation and maintenance), self-hosting is the optimal cost solution (about 1/3-1/2 of a SaaS service of the same size); for teams with a team size of 10 For start-up companies that want to focus on their core business, the "operation and maintenance-free" premium of cloud hosting is completely worth it; for financial and government projects that are sensitive to data compliance, the enterprise private cloud is the only option, but it should be noted that there is a lot of room for price negotiation. It is recommended to fully compare the long-term TCO of self-hosting before making a decision.
Main functions
Meilisearch's functional design revolves around the three capability lines of "immediacy of search experience + relevance of results + convenience of integration". It does not provide a search algorithm library, but an out-of-the-box search infrastructure layer.
-
Search-as-you-type: A query is triggered every time the user enters a character, and the system returns results within 50ms. The realization of this experience relies on two layers of optimization: the front end uses debounce to control the request frequency, and the back end uses the prefix index structure (Prefix Index) to ensure that candidate documents can be quickly located even if only 3 characters are entered. For high-frequency interaction scenarios such as e-commerce searches, real-time search can directly increase product exposure by 20-30% - users who see a real-time completed product list are more likely to trigger clicks than entering complete keywords themselves.
-
Spelling Tolerance and Approximate Matching (Typo Tolerance): Automatically correct spelling errors, the default tolerance is 1 character error per word (configurable). The implementation mechanism is the edit distance (Levenshtein Distance) algorithm, which not only supports English, but also has certain fault tolerance for errors in Chinese pinyin input. For example, searching for "aluminum" can still match "aluminum", and "iPhone" and "iPhone" can also return the same results. In real scenarios, about 10-15% of e-commerce search queries contain spelling errors. Typo Tolerance directly reduces the frustration of "zero results" and has a quantifiable positive impact on search conversion rates.
-
Semantic Search (Vector Embedding): Built-in vector embedding support that converts text into high-dimensional vectors and performs semantic matching via cosine similarity. Compared with traditional BM25 keyword matching, semantic search understands the semantic equivalence between different expressions such as "laptop" and "laptop computer." Meilisearch supports generating vectors through Hugging Face models or self-trained embedding models without the need to deploy additional vector databases. The practical value of this feature is that users do not need to know the exact words used in the document to find relevant content, which is especially suitable for knowledge base searches and community content platforms.
-
Federated Search: An API request spans multiple independent indexes and returns jointly sorted results. Assume that a project management SaaS requires global search. A single request can query the five indexes of projects, tasks, comments, attachments, and people at the same time, and return them in order of global relevance. This not only reduces the waiting time for multiple requests on the front end, but also avoids the perception problem of "mixed results of different data types" through a unified sorting strategy.
-
Multi-language word segmentation and sorting rules: Built-in multi-language word segmentation (including Chinese, Japanese, Korean, Arabic, etc.), no additional plug-ins or configurations are required. Chinese word segmentation is based on the MMSEG algorithm, which has good word segmentation effects on daily expressions and common professional terms. The sorting rules support chain combination - you can sort by "Relevance > Price Ascending > Last Update Time > Custom Rating" to achieve a compound sorting experience similar to e-commerce search "Most Relevant + Most Cost-Effective + Latest on Shelves".
-
Filtering & Faceted Search: Supports structured multi-dimensional filtering of search results - progressive filtering based on attributes such as brand, price range, color, size, etc. in e-commerce scenarios. Faceted Search returns the count of remaining results for each dimension in real time during the filtering process, helping users understand "if I filter red, how many options are left?"
-
Index real-time update: Supports document addition, deletion, modification (CRUD) to take effect in seconds without rebuilding the index. This is crucial for e-commerce scenarios where inventory changes frequently - after a product is removed from the shelves or the price changes, the search should reflect the latest status within seconds, rather than displaying expired information during scheduled rebuilding of the index.
Model and version evolution
Meilisearch's version iteration follows the strategy of "stable kernel + progressive enhancement". It does not pursue large version number jumps, but increases search capabilities through each small version increment.
v0.x Series: Proof of Concept and Community Discovery (2018-2022)
- v0.1 - v0.10: Early prototyping stage. After the core team was established in Paris, France, it first used MVP to verify the product hypothesis of "Rust search + instant feedback". The API design has gradually converged from imitating the Elasticsearch REST style in the early days to its own concise style.
- v0.28 (2022): The first version to reach "production available" consensus. The introduction of API Key authentication mechanism and multi-instance replication allowed the community to seriously consider using it for production environments.
- v0.30 (2022): Add Chinese word segmentation support and sorting rule customization. This version was the starting point for the Chinese community to discover Meilisearch on a large scale, and domestic technical articles and community discussions increased significantly.
v1.0 series: Production-grade stability and semantic search (2023-2024)
- v1.0 (2023-02): Official farewell to Beta and declared production ready. The API enters a stable phase and is committed to backward compatibility. At the same time, the Meilisearch Cloud cloud service public beta was launched.
- v1.1 - v1.3: Optimize index performance and data import throughput. Introducing the Document Replacement mechanism to enable full data updates without downtime.
- v1.4 - v1.6: Search performance optimization and query language enhancements. v1.4 introduces Geo Search (geographic range search), and v1.6 adds basic capabilities for multi-index search.
- v1.7 - v1.9: Vector storage online and embedded search test. v1.7 experimentally supports vector search, v1.8 officially supports it, and optimizes the vector index compression rate in v1.9, increasing the vector capacity under the same memory by about 40%.
v1.10+ Series: AI Deep Integration and Federated Search (2025-2026)
- v1.10 (2025): Implement the official version of semantic search (replacing the experimental version) and introduce the federated search function. The vector search performance is further optimized to support Hybrid Search - a weighted fusion of BM25 keyword matching and vector semantic search results.
- v1.11 (~2025): Improve multi-language word segmentation accuracy and optimize the word segmentation quality of Arabic, Korean and other small languages. Federated search adds support for paging and sorting consistency.
- v1.12 (~2026): Continue the iteration of the instant search experience, optimize the automatic expansion and contraction mechanism of cloud services, and improve the performance of semantic search on multi-language mixed text. v1.13 is expected to introduce native integration of Retrieval Augmentation Generation (RAG), extending Meilisearch from a "search tool" to an integral part of an "AI knowledge retrieval pipeline."
Version rhythm description: Meilisearch does not have a fixed release calendar, and the version release rhythm is driven by community contributions and business needs. Cloud platform version updates typically lag behind open source versions by 2-4 weeks to complete additional stability verification. The feature alignment between the open source community version and the cloud platform has reached its highest level in v1.12, and the cloud platform no longer has long-term feature lag.
Technical advantages
The technical advantage of Meilisearch is not to simply stack "support for such and such algorithm", but to find a balance between "search response speed" and "resource efficiency" that is different from other search engines through Rust's native concurrency model and index structure innovation.
Performance advantages of the Rust core engine: The underlying operations of the search engine (word segmentation, inverted search, rating calculation) are inherently CPU- and I/O-intensive operations. Rust's zero-cost abstraction and ownership model enable Meilisearch to compile these operations to performance close to hand-written C, while avoiding safety issues like dangling pointers and buffer overflows in C/C++. Specific to the search scenario, Rust's ownership system allows the memory layout optimization of the data structure to be completed during the index loading stage, so that there is almost no GC pause during search - this is qualitatively different from Elasticsearch's Java-based JVM GC tuning. The latter's GC pause may reach the second level when the heap memory exceeds 32GB, which directly affects the P99 tail delay of search latency.
Engineering mapping of prefix index and instant search: Meilisearch builds a layer of prefix index (Prefix Index) on top of the inverted index to specifically optimize the query mode of "searching while typing". This index structure maps each prefix fragment input by the user to the corresponding document ID set, ensuring that results can be returned quickly even in a low information state of 2-3 characters. Compared with Elasticsearch, which relies on a combination of Completion Suggester or Edge Ngram tokenizer in real-time search scenarios, Meilisearch's prefix index is natively built-in, and the configuration cost is almost zero - users do not need to understand "what is ngram" to get an excellent real-time search experience.
Hybrid Search mechanism: The hybrid search introduced in v1.10 combines the results of traditional BM25 keyword matching and vector semantic search with a weighted fusion. The core logic is: when the keywords entered by the user hit a clear term match in the document, BM25 contributes more weight; when the user enters descriptive and vague language, the semantic matching of vector search contributes more weight. There are two modes for fusion weights - automatic (dynamically adjusted by the system based on query characteristics) and manual (the developer specifies the weight ratio of BM25 and vectors through API parameters). In real tests, hybrid search can improve the recall rate of long-tail queries by about 15-30% compared to pure BM25, while maintaining the accuracy of high-frequency queries.
Resource efficiency and hardware threshold: Taking a typical e-commerce index with 10 million documents and 50 fields as an example, Meilisearch's memory usage is about 1/3-1/2 of Elasticsearch, and the index storage volume is about 1/2 of Elasticsearch. This means that a cloud server with 4GB of memory can carry search loads of millions of documents and hundreds of QPS. With the same hardware budget, the business scale that Meilisearch can support is about 2-3 times that of Elasticsearch. This is determined by Rust's low memory overhead and Meilisearch's design philosophy ("index only stores the data required for search") - Elasticsearch is a general search engine, and the index contains a large number of data structures for aggregation analysis (Aggregation), while Meilisearch gives up some analysis capabilities in exchange for a more compact index size.
Architectural differences compared to competing products:
| Comparative Dimensions | Meilisearch | Typesense | Elasticsearch |
|---|---|---|---|
| Core Language | Rust | C++ | Java |
| Index storage efficiency | ★★★★★ (compact) | ★★★★☆ | ★★★☆☆ |
| Instant search native support | ★★★★★ (native) | ★★★★☆ | ★★★☆☆ (requires plug-in) |
| Built-in semantic search | ★★★★★ | ★★★☆☆ (supported by later versions) | ★★★★☆ (requires plug-in) |
| Cluster scalability | ★★★☆☆ | ★★★☆☆ | ★★★★★ |
| Aggregation analysis capabilities | ★★☆☆☆ | ★★☆☆☆ | ★★★★★ |
| API Simplicity | ★★★★★ | ★★★★☆ | ★★★☆☆ |
| Chinese word segmentation quality | ★★★☆☆ | ★★★☆☆ | ★★★★☆ |
How to use
Meilisearch's usage path covers all stages from "one-line command startup" to "deep integration into production systems". The core entrance is Docker image and HTTP API.
Quick Start (Self-Hosted Mode):
# Use Docker to start Meilisearch (semantic search is enabled by default)
docker run -it --rm \
-p 7700:7700 \
-e MEILI_MASTER_KEY=your_master_key \
-v $(pwd)/meili_data:/meili_data \
getmeili/meilisearch:v1.12
After the service is started, access the web management interface through http://localhost:7700 (requires API Key), or perform indexing operations through HTTP API. The management interface provides index browsing, search testing and configuration viewing functions, which is suitable for debugging during the development phase.
Search API call example:
# Add documents to the index
curl -X POST 'http://localhost:7700/indexes/products/documents' \
-H 'Authorization: Bearer your_master_key' \
-H 'Content-Type: application/json' \
-d '[
{
"id": 1,
"title": "Black hooded sweatshirt",
"description": "Pure cotton fabric, suitable for autumn and winter wear",
"price": 299,
"brand": "UrbanFashion",
"categories": ["tops", "sweatshirts"]
}
]'
# Perform an instant search (request each character entered)
curl 'http://localhost:7700/indexes/products/search,q=hoodie&limit=20'
# Search with filtering and sorting
curl 'http://localhost:7700/indexes/products/search' \
-H 'Content-Type: application/json' \
-d '{
"q": "hoodie",
"filter": "price >= 100 AND price <= 500",
"sort": ["price:asc"],
"facetsDistribution": ["brand", "categories"],
"limit": 20
}'
Semantic search configuration steps:
- Set
--enable-vector-searchat startup or enable vector search through the context variableMEILI_ENABLE_VECTOR_SEARCH=true. - Select an embedding model (the default supports generating vectors through the Hugging Face model, such as
sentence-transformers/all-MiniLM-L6-v2). - Specify the field for which vectors need to be generated in the index settings (usually a text description field).
- Enable hybrid search (BM25 + vector semantics) via the
hybrid: trueparameter when searching.
Cloud service usage process:
- Visit
https://cloud.meilisearch.comto register an account. - Create a project and select a node specification (Starter/Standard/Enterprise).
- Obtain API Host and API Key.
- Indexing and search operations are performed through the exact same API interface as self-hosting, only the endpoint address is different.
Production bounded deployment suggestions:
- High availability configuration: At least 3 nodes form a cluster, and each node is configured with master-slave replication. Meilisearch's cluster topology is relatively simple and does not have the complex shard routing mechanism of Elasticsearch, making it suitable for small and medium-sized clusters.
- Data Backup: Regularly make snapshot backups of the
meili_datadirectory; the cloud service version automatically includes daily snapshots. - Monitor: Watch the
/_healthendpoint and search latency metrics. It is recommended to trigger an alarm when the search delay exceeds 100ms - for instant search experience, 100ms is the critical point of user perception. - Index Warming: For known high-frequency search terms, hot index pages can be loaded into memory through preheating queries to avoid the first search delay during cold start.
Product Pricing
Meilisearch's pricing system adopts a three-tier structure of "open source free + pay-as-you-go cloud service + enterprise version customization", which is highly cost competitive in small and medium-scale scenarios compared with competing products.
Open Source Edition (Self-Hosted): MIT License, completely free. The core engine has no function restrictions, and advanced features such as semantic search and federated search are all open source and available. Recommended hardware configuration:
- Development/Small scale (<100,000 documents): 2GB RAM, 1 core, 10GB SSD
- Medium scale (100,000-5 million documents): 4GB RAM, 2 cores, 50GB SSD
- Large scale (5 million-50 million documents): 8GB+ RAM, 4+ cores, 200GB+ SSD
Cloud hosting version (Meilisearch Cloud):
- Starter: About $50-100/month, 1 million searches/month, 1GB index, single node. Suitable for small projects and verification products.
- Standard: About $300-500/month, 5 million searches/month, 10GB index, multi-node high availability. Products suitable for growth stage.
- Enterprise: Please contact sales for price. Unlimited traffic, dedicated clusters, SSO integration, audit logs, custom SLA, and global multi-region deployment.
Free quota: The cloud service provides a free trial quota of approximately 100,000 searches/month, and no credit card is required. This is very friendly to early projects in the proof of concept (PoC) and MVP stages - there is almost zero cost from development to launch, and billing only starts after the search volume exceeds the quota.
Price comparison with competing products (based on an average of 1 million searches per month for a 5GB index):
| Service provider | Monthly cost (estimate) | Whether vector search is included | Operation and maintenance outsourcing |
|---|---|---|---|
| Meilisearch Self-hosted | ~$30-50 (server cost) | Yes | No |
| Meilisearch Cloud | ~$50-100 | Yes | Yes |
| Typesense Cloud | ~$75-150 | Yes (late version) | Yes |
| Algolia | ~$100-300+ | No (requires additional plans) | Yes |
| Elastic Cloud | ~$95-150+ | Yes (requires plugin) | Partial |
Key insights into the pricing strategy: Meilisearch Cloud's pricing does not pursue the "absolute lowest price" - Algolia's free quota is higher under the same search volume, and Elastic Cloud's enterprise discount is more flexible - but it uses the "open source version with complete functions" strategy to allow developers to use all functions for free during the development phase, and only switch to paid cloud services when SLA and free operation and maintenance are required. This "pre-use, pay-after" funnel strategy is more friendly to developers than Algolia's hard cap strategy of "stopping service if it exceeds the free quota", and it is also easier to promote the decision from "trial" to "formal purchase" within the team.
Application scenarios
The application scenarios of Meilisearch revolve around "high-frequency search interaction + multi-type data retrieval + end-to-end search experience". The following four scenarios have been verified at scale.
-
E-commerce and retail site search: This is the most mature application scenario of Meilisearch. Product search needs to meet both exact matching (brand name SKU) and fuzzy matching (descriptive queries, such as "light shoes suitable for running"). The hybrid search mode allows precise matching results to be displayed first while highlighting semantically related long-tail products. Implementation effect reference: After a European fashion e-commerce company migrated its search backend from self-developed Solr to Meilisearch, the average search response time of the search page dropped from 320ms to 45ms, and the bounce rate after user searches was reduced by about 12% (based on data shared by the team in the technology blog). The improvement of search-related business indicators relies on the cooperation of the front-end UI and recommendation algorithms. Meilisearch itself only provides basic guarantees for search response speed and quality.
-
SaaS product global search: In SaaS products such as project management CRM and customer service systems, users need to locate projects, tasks, contacts, work orders, files and other entities in one search. Federated search avoids the tedious front-end query of multiple API endpoints in sequence, and also solves the problem of "how to uniformly sort search results for different entities." Implementation Tip: The sorting accuracy of federated search depends on the independent correlation tuning of each index. It is recommended to test the Top-5 accuracy of each index separately during the integration phase to ensure that the global sorting is not dragged down by a low-quality index.
-
Knowledge base and document search: Search enhancements to the company's knowledge base (Confluence/Notion, etc.), or in-site search for technical documentation websites. Semantic search is most valuable here - users may be searching without knowing the exact terms in the document (e.g. searching for "how to deploy" but the document says "installation guide"). Adaptation boundary: When the knowledge base documents exceed 1 million and require cross-language retrieval (such as a mixed Chinese and English knowledge base), it is recommended to split into two independent indexes, Chinese and English, and configure word breakers and embedding models respectively. The search results are merged through federated search to obtain better search quality than a single multi-language index.
-
Content platform and community search: In-site search for news websites, blog platforms, and forum communities. The core indicator of content search is "the proportion of users who click on a result after initiating a search" - this reflects the match between the search results and the user's intent. Meilisearch's instant search and spelling tolerance directly expand the range of queries that can be matched, while semantic search improves recall capabilities when "users can't tell the product name but can describe the function."
Not suitable for scenarios:
- Ultra-large-scale data lake search (>1 billion documents): Meilisearch's cluster architecture design is biased towards small and medium-sized, and the operation and maintenance experience of managing tens of billions of documents in a single cluster is not as rich as Elasticsearch. If the data size is in the billions and still growing rapidly, Elasticsearch's scalability is more guaranteed.
- Complex log analysis and time series data: Meilisearch gives up the aggregation analysis (Aggregation) capability, does not support the Logstash/Kibana ecosystem, and is not suitable for log monitoring APM or time series indicator query scenarios. This is Elasticsearch's own territory.
- Extremely low latency requirements for fully managed SaaS (P99 < 20ms): Algolia's proprietary search engine still has an advantage in response speed (P99 is about 10-15ms). For scenarios that are extremely sensitive to latency, such as financial transaction market search, Algolia is still a better choice.
- Search scenarios with extremely high recall rate requirements (such as legal/medical): Meilisearch's ranking optimization takes "user experience" as the primary goal (Top-N accuracy is prioritized), rather than "not missing any results" as the core (Recall is prioritized). If the search requirement is to retrieve legal cases or complete medical literature, Elasticsearch's customized scoring functions (such as Script Score) provide more granular control.
Applicable people
The applicable groups of Meilisearch are centered on developers and expand to both ends. Different roles focus on different capability dimensions.
-
Backend/Full Stack Developer: The "direct operator" of search engines. Meilisearch's API design is friendly to back-end developers - the entire process from Docker pull to the first search return can be completed in 15 minutes. The API style is close to RESTful best practices, the error messages are highly readable, and there is no need to understand the internal mechanisms of the search engine (such as inverted index, sharding strategy TF-IDF). Typical portrait: Developed by a small and medium-sized team using Laravel/Rails/Django, it takes three days to search for the product access site.
-
SaaS product manager and technical decision-maker: the requester and selection decision-maker for the search function. Their focus is not on a certain parameter of the API, but on "whether the search experience can become a product differentiation selling point" - the combination of instant search, spelling tolerance and semantic search is a product capability that can directly improve the user completion rate (Task Completion Rate). Basis for decision-making: It is recommended that you use your own product’s real data (at least 100,000 items) to make a PoC on Meilisearch, Typesense, and Algolia during the selection stage, so that the team can intuitively feel the difference in search quality, and then make decisions based on price and operation and maintenance conditions.
-
Independent developers and small teams: Need to quickly run through the search function in a team of one or three people. Self-hosted Meilisearch is the lowest-cost solution - a cloud server of ¥100/month can host search requests for thousands to tens of thousands of products. Not recommended: If the core data of the product is within 1,000 items (such as a personal blog), you can directly query it using
LIKEin the database. Introducing a search engine will increase unnecessary operation and maintenance burden. -
Enterprise Architect and Infrastructure Team: Need to evaluate the scalability, security, and operational complexity of the search engine. Meilisearch supports API Key authentication and fine-grained index permissions for security, but does not support RBAC (role-based access control). In terms of operation and maintenance, Docker Compose configuration can complete multi-node deployment, and does not require complex Ansible Playbook or Helm Chart like Elasticsearch. Selection Suggestion: If the team already has Elasticsearch operation and maintenance capabilities and the cluster size is large, there is no need to change engines just to "change engines"; if you are building a search service from scratch and the data volume is within tens of millions, Meilisearch's learning curve is flatter.
Prerequisites: The prerequisites for using Meilisearch are very low - you only need to understand HTTP API and JSON. No in-depth understanding of search engine theory, word segmentation principles or ranking algorithms is required. However, before putting it into production, it is recommended to read the security best practice documents at least once (API Key management, HTTPS configuration, CORS policy, etc.).
Summary and Outlook
Meilisearch has found a precise market gap between Elasticsearch and Algolia by building an "out-of-the-box search experience" on the Rust native engine - much simpler than Elasticsearch, and more open source and self-hosted than Algolia. Its differentiation lies not in "stronger search algorithms", but in "reducing the cost of search engine configuration to an unprecedented low level". At the same time, through the MIT license and built-in support for semantic search, it has established a clear ecological niche in the open source search engine market.
Current Limitations:
- Cluster size ceiling: Single node performance is excellent, but cluster operation and maintenance experience of more than 10 nodes is far less than that of Elasticsearch. The data consistency mechanism of distributed systems (index synchronization in case of node failure) is still being iterated, and it is recommended to have more conservative expectations than Elasticsearch in large-scale cluster scenarios.
- Chinese word segmentation accuracy: The MMSEG algorithm performs well on daily Chinese and common professional terms, but the segmentation granularity of long-tail professional terms (such as medical names, legal terms, and compound words in technology patents) is not fine enough. In scenarios with dense Chinese content, it is recommended to conduct adequate word segmentation testing and supplement it with a custom dictionary if necessary.
- Cloud service coverage area: As of now, Meilisearch Cloud's nodes are mainly deployed in AWS Europe (Frankfurt, Ireland) and the United States (Virginia, Oregon) regions, and node coverage in Asia Pacific and South America needs to be expanded. For products whose main user base is in the Asia-Pacific region, self-hosting may be a better latency option at the moment.
- Lack of aggregation analysis capabilities: Intentional design trade-off - Meilisearch does not perform Elasticsearch's aggregation analysis (Aggregation), which also means that it cannot replace log analysis, indicator monitoring and other scenarios. If the product has "hybrid search + analysis" requirements in the future, additional analysis engines may need to be deployed.
Key trends: Search is shifting from "keyword matching" to a fusion state of "semantic understanding + generative retrieval". Meilisearch is ready for this trend with its Hybrid Search and built-in vector support. Retrieval Augmentation Generation (RAG) native integration is expected to be introduced in the second half of 2026, allowing Meilisearch to not only return a list of document IDs, but also to cooperate with LLM to generate summaries of search results or directly answer user questions. This will push Meilisearch further from "search infrastructure" to "AI knowledge retrieval layer".
Procurement/Adoption Risk Assessment:
- Short-term pilot (1-3 months): The development team can start and access the API through Docker in half a day, completing the search quality assessment at almost zero cost. It is recommended to use 10% of the real business data for stress testing to confirm that the average search delay is within 50ms and P99 is within 200ms.
- Mid-term integration (3-12 months): Confirm the coverage of business language by word segmentation configuration, especially professional terms and brand names. Establish a search quality monitoring system (such as zero result rate and click-through rate for Top-10 search terms). If it is a self-hosted mode, formulate a cluster expansion and contraction plan and a backup and recovery process.
- Long-term dependency (12+ months): The MIT license eliminates the legal risk of vendor lock-in, but data migration costs remain - the index structure, word segmentation configuration, and collation are specific to Meilisearch, and moving to other search engines requires rebuilding the index. It is recommended to perform version management on the index structure and configuration to avoid "search engine configuration becoming implicit knowledge".
- Verification items before enterprise purchase: ① Whether the data residence area meets compliance requirements (GDPR/"Personal Information Protection Law"); ② SLA details of cloud services (availability commitments, compensation clauses, early termination conditions); ③ In self-hosting scenarios, confirm the long-term maintenance commitment of the core engine (Meilisearch SAS's financing status and team size can be used as a reference).
Related tools: perplexity, you-com
Version Info
- Meilisearch 1.12 :There is no official precise date yet, but it will continue to iterate on the instant search experience and semantic search capabilities.
- Meilisearch 1.11 :No official precise date yet, improved semantic search and multi-language support.
User Reviews