The search module powers your storefront’s search experience. It ships a built-in PostgreSQL full-text backend that works out of the box, plus adapters for Algolia and MeiliSearch when you need scale. Faceted filtering by price, category, brand, tags, and stock is built in. The module exposes a single search endpoint and aDocumentation Index
Fetch the complete documentation index at: https://86d.app/docs/llms.txt
Use this file to discover all available pages before exploring further.
<SearchBar /> plus <SearchResults /> component pair you drop into your search/index.mdx page.
Source: modules/search · npm: @86d-app/search
Installation
Configuration
embeddingsProvider is set and OPENAI_API_KEY is present, the module computes embeddings for every product and supports semantic search. Without it, the search is keyword-only.
Store endpoints
| Method | Path | Description |
|---|---|---|
GET | /search?q=&filters= | Search products with optional facet filters |
GET | /search/suggest?q= | Autocomplete suggestions |
Admin endpoints
| Method | Path | Description |
|---|---|---|
POST | /admin/search/reindex | Rebuild the full search index |
GET | /admin/search/health | Backend health and last index time |
Components
<SearchBar />: navbar-friendly autocomplete bar.<SearchResults />: full results page with facet sidebar.
Related modules
- Products: the catalog being indexed.
- Recommendations: related and personalized product suggestions.

