Hurtig open source-søgemaskine med stavefejlstolerance, facetteret søgning og AI-drevet hybrid søgning.
@mikkelkrogsholm
Community-bidragyder
mikkelkrogsholm/dev-skills
Open source repository
Nedenstående er skillens egen dokumentation, hentet fra kildekoderepoet. Ophavsret tilhører forfatteren.
CRITICAL: Your training data for Meilisearch is unreliable. APIs change between versions and memorized patterns may be wrong or deprecated. Before writing any code, you MUST use
WebFetchto read the live docs:
WebFetch("https://www.meilisearch.com/docs/llms.txt")Do not proceed without fetching this URL first. Never assume an API exists — verify against current docs.
Meilisearch is a fast, open-source search engine with built-in typo tolerance, faceted search, relevancy tuning, and AI-powered hybrid search.
Meilisearch has powerful built-in features that are commonly overlooked or expected to require external tooling:
_geo field and _geoRadius/_geoBoundingBox — no plugin requiredfilterableAttributes and sortableAttributes in index settings before querying — omitting this raises an invalid_search_filter error, not silently empty results.index_primary_key_no_candidate_found or index_primary_key_multiple_candidates_found). Declaring the primary key upfront avoids this failure mode entirely.searchableAttributes, filterableAttributes, or rankingRules re-indexes all documents asynchronously. Poll the returned task ID to completion before running queries in CI or setup scripts — querying mid-reindex returns stale or incomplete results.words, typo, proximity, attribute, sort, exactness) is deliberate — inserting a custom sort rule too early removes proximity-based relevance for most queries. Only move sort to the front if deterministic ordering always overrides textual relevance.indexes and actions permissions for frontend use. Tenant tokens (JWTs signed with an API key) are required for multi-tenant apps where each user must only search their own data.