A short recommended reading order. The HexDocs sidebar lists every guide, grouped by job. If you read one page first, make it the Golden path.
Recommended reading order
- Golden path — a linear first hour, from
mix.exsto a workingScrypath.search/3with inline sync. - JTBD and user flows — Canonical mental model: the jobs Scrypath serves, the main flows, and what "success" honestly means in each one.
- Meilisearch concepts — the Meilisearch nouns, the async task model, and the projection boundary Scrypath relies on.
- Request-edge search — browser params,
Scrypath.QueryParams, optionalScrypath.Phoenix, and context-ownedScrypath.search/3. - Composing real-app search — reusable
defaults,fixedscopes, host-owned rendering, andcompose_many/2lowering. - Phoenix walkthrough — end-to-end adoption: schema, context, controller, LiveView.
- Sync modes and visibility — inline, Oban, and manual sync, and what "done" means.
- Related data and reindexing — associated-data fan-out, and when to escalate to backfill or reindex.
- Drift recovery — the operator path when the database and search disagree or work is stuck.
- Common mistakes — evidence-led pitfalls, from symptom to fix.
The minimal runnable Phoenix example (Postgres, Meilisearch, and Oban) lives under examples/phoenix_meilisearch/. For a richer click-around showcase with a multi-tenant storefront, a mounted operator UI, Docker Compose, and realistic seeds, use examples/scrypath_ecommerce/.
For supported versions and install guidance, use Support and compatibility.