meilisearch
0.19.0, released 8 months ago by meilisearch.com
Meilisearch API client for Dart and Flutter developers
What it does
Provides a Dart client to interact with the Meilisearch search engine, allowing you to add documents, perform typo-tolerant searches, manage indexes, and configure search parameters.
AI-written summary of version 0.19.0, based on the package's README and metadata. Report an inaccuracy
Use it when
- You need to integrate Meilisearch search functionality into your Dart or Flutter application.
- You want fast, typo-tolerant search capabilities backed by a Meilisearch instance.
Skip it when
- You are using a different backend search provider like Algolia or Elasticsearch.
- You require an entirely on-device embedded search engine without an external server.
Strengths
- Typo-tolerant search out of the box
- Easy document management and indexing
- Supports customizable dio instances for network requests
Weaknesses
- Requires a running Meilisearch server or Meilisearch Cloud instance
Setup
- Kind
- Pure Dart
- Effort
- Low
- Code generation
- Yes (build_runner)
- Direct dependencies
- 5
Requires initializing the MeiliSearchClient with a server URL and master key.
var client = MeiliSearchClient('http://127.0.0.1:7700', 'masterKey');
var index = client.index('movies');
var result = await index.search('carlo');
print(result.hits);Alternatives
Packages that do the same job and could replace meilisearch.
- supabase
Dart client for Supabase, usable in non-Flutter Dart environments.
92Compare - posthog_flutter
Flutter client for PostHog analytics, feature flags, and session replay
84Compare - googleapis
Auto-generated client libraries for accessing Google APIs.
95Compare - supabase_flutter
Flutter client for Supabase providing auth, database, realtime, storage and edge functions.
92Compare
Works with
Packages commonly used together with meilisearch: ones it builds on, ones built on it, and its own family.
- cryptomeilisearch depends on itProvides SHA, MD5, and HMAC hashing functions for Dart.
- json_annotationmeilisearch depends on itProvides annotations for json_serializable to generate JSON (de)serialization code.
- diomeilisearch depends on itA powerful HTTP networking package for Dart and Flutter with interceptors and request cancellation.