Meilisearch Search Engine
Deploy Meilisearch for fast, typo-tolerant search with easy setup and a generous open-source offering.
Overview
Meilisearch supports multi-language search with built-in tokenizers for CJK languages, faceted search, geo search, and multi-tenancy through tenant tokens. Unlike Elasticsearch, Meilisearch requires no schema definition; it auto-detects field types and creates indices automatically. The search API supports filters, sorting, pagination, and highlighted results with a simple RESTful interface.
The platform can be self-hosted (single binary, Docker, or cloud VM) or used through Meilisearch Cloud. It provides official SDKs for JavaScript, Python, PHP, Ruby, Go, and Rust. The JavaScript SDK works in both Node.js and browsers. Meilisearch integrates with popular frameworks through plugins for Strapi, Firebase, and docs platforms like Docusaurus and VuePress.
Who Is This For?
- Add search to a content site or documentation portal
- Build product search with filters and facets
- Implement geo-based search for location services
- Replace Elasticsearch with a simpler alternative
Installation
npm install meilisearch Configuration
import { MeiliSearch } from "meilisearch"
const client = new MeiliSearch({
host: process.env.MEILI_HOST || "http://localhost:7700",
apiKey: process.env.MEILI_MASTER_KEY,
})
// Add documents
const index = client.index("movies")
await index.addDocuments(movies)
// Search
const results = await index.search("action hero", {
filter: ["year > 2020", "rating >= 8"],
sort: ["rating:desc"],
limit: 20,
}) Explore AI Tools
Discover the best AI tools that complement your skills
Read AI & Design Articles
Tips and trends in the world of design and AI
Related Servers
Sentry Error Tracking
Monitor errors and performance issues in production with Sentry. AI agents can triage alerts and suggest fixes based on stack traces.
PostHog Product Analytics
Track product usage, manage feature flags, and analyze user behavior with PostHog, an open-source product analytics platform.
Database Query Builder
Generate and optimize SQL queries with AI assistance. Build complex queries, analyze execution plans, and improve database performance.