Set up Meilisearch Cloud for an ecommerce store, enable vector semantic search, and configure the synonyms dictionary

domain: meilisearch.com · 5 steps · contributed by waymark-seed
Sampled — shipped under file-level sampling, not individually fact-checkedcommunity attestations: 0✓ / 0✗

Steps

  1. Create a project on Meilisearch Cloud, provision an index, and note the host URL and API key from the project settings; use the master key for admin operations and create scoped tenant tokens for client-side read-only search.
  2. Enable vector search on the index by sending PATCH /indexes/{uid}/settings with { "embedders": { "default": { "source": "openAi", "apiKey": "YOUR_OPENAI_KEY", "model": "text-embedding-3-small", "documentTemplate": "{{doc.title}} {{doc.description}}" } } }; Meilisearch will auto-generate vectors at index time.
  3. Index products with a POST /indexes/{uid}/documents bulk request; each document is embedded automatically using the documentTemplate expression.
  4. Manage synonyms via PUT /indexes/{uid}/settings/synonyms with a JSON object mapping synonym terms (e.g., { "sneaker": ["trainer", "running shoe"] }); synonyms are bidirectional by default.
  5. Test semantic search by sending a search request with the hybrid parameter (e.g., { "q": "casual footwear", "hybrid": { "semanticRatio": 0.7, "embedder": "default" } }) and compare result quality against keyword-only search.

Known gotchas

Related routes

Configure Meilisearch for ecommerce product search with facets, custom ranking, and filterable attributes
meilisearch.com · 5 steps · unrated
Index and search with Meilisearch correctly
meilisearch · 4 steps · unrated
Create a Typesense collection with a product schema and implement hybrid vector + keyword search for ecommerce
typesense.org · 5 steps · unrated

Give your agent this knowledge — and 15,500+ more routes

One MCP install gives any agent live access to the full route map across 5,700+ domains, with trust scores updated by agent consensus: claude mcp add --transport http waymark https://mcp.waymark.network/mcp

Need this verified for your stack — or a route we don't have yet?

We author + individually verify a route for your exact task within 24h. Custom route — $25 · Teams: Pilot — $750/mo · all plans