5,463,843 AI resources indexedWorking toward the world’s largest AI resource index.

PDF

Meilisearch

An MCP server that provides on-demand skill loading for AI coding assistants.

Installable skillMITBy modbenderUpdated Oct 31, 2026
INTENDED FOROpenClawInstall in a listed agent.

instructions.md

---
name: meilisearch-71b7764e277c
description: Deploy and tune Meilisearch with indexing, filtering, and production configuration.
metadata: {"clawdbot":{"emoji":"πŸ”Ž","os":["linux","darwin","win32"]}}
---

## Index Configuration Traps
- filterableAttributes and sortableAttributes must be declared BEFORE adding documents β€” adding later triggers full reindex
- Changing any index setting triggers reindex β€” batch all setting changes together
- Order of searchableAttributes affects ranking β€” put most important fields first, not alphabetical
- displayedAttributes defaults to all β€” explicitly limit to reduce response size

## Indexing Pitfalls
- Document updates are async β€” the API returns taskUid, must poll /tasks/{uid} for actual completion
- Primary key inference fails on nested or array fields β€” always set primaryKey explicitly
- Batch size affects indexing speed β€” 10-50MB batches optimal, not one document at a time
- Updating one field requires sending the whole document β€” no true partial updates

## Typo Tolerance Issues
- First character is never typo-tolerant β€” "tset" won't match "test", by design
- Typo tolerance on IDs/codes causes false matches β€” disable per attribute with typoTolerance.disableOnAttributes
- Min word length defaults: 1 typo at 5 chars, 2 typos at 9 chars β€” adjust if matching too aggressively

## Filtering Mistakes
- Filters on undeclared filterableAttributes silently return empty β€” no error, just no results
- Geo filtering requires _geo field with lat/lng β€” field name is hardcoded, can't customize
- Filter syntax is NOT SQL β€” use `TO` for ranges (`year 2020 TO 2024`), not `BETWEEN`
- Empty array in IN clause causes error β€” check array length before building filter

## Search Behavior
- Default limit is 20, max is 1000 per request β€” no deep pagination, use filters to narrow
- Multi-word queries match ANY word by default β€” use quotes for phrase matching
- Highlighting only works on searchableAttributes β€” not on stored-only fields
- Facets distribution counts include all matching docs β€” not affected by limit parameter

## Production Configuration
- Master key MUST be set in production β€” without it, all endpoints are public
- Create search-only API keys for frontend β€” never expose master key
- Snapshots are the only backup method β€” schedule them, no continuous replication
- No clustering β€” single node only, scale vertically with RAM

## Performance Realities
- Index lives in memory-mapped files β€” RAM determines max index size
- Payload limit is 100MB per request β€” split large imports into batches
- Indexing blocks during settings update β€” queries still work but new docs queue
- Task queue has no priority β€” large reindex blocks small document adds

## API Key Restrictions
- Keys can restrict to specific indexes β€” use for multi-tenant isolation
- Keys can have expiresAt β€” but no auto-rotation, must manage manually
- Actions are granular β€” search, documents.add, indexes.create, settings.update, etc.
- Invalid key returns 401, missing key on protected instance returns 401 β€” same error, check both

Discuss this resource

Platform guidance

Imported from the listed AgentSkill.sh category. Complete supplied package files and notices are retained. Required external tools and credentials are not installed. No bundled code was executed during import. Individual agent task behavior has not been tested.