Search configuration and synonyms
Configure storefront product search in Enad Admin or via MCP: synonyms per language, entity boosting priorities, searchable attribute templates, variant attributes, and allowed domains.
Storefront product search at https://graphql.enad.io/{app_id}/graphql uses a per-app configuration for domain access, indexed attributes, boosting priorities, and synonyms.
Manage these settings in Enad Admin (app.enad.io → Search) across four views — Settings, Boosting, Synonyms, and Explorer — or inspect and preview changes through the ENAD MCP Server.
Boosting
In Search → Boosting, assign a numeric priority to specific catalog entities so matching products rank higher in storefront search results.
Supported boost groups:
- Categories
- Collections
- Tags
- Products
- Attributes
In MCP (search.draft_configuration_update), each boosted item takes { id, priority } under payload.boosted.{categories,collections,tags,products,attributes}. Sending a group replaces that group’s boost list; any group you omit keeps its current boosts.
Synonyms
In Search → Synonyms, define locale-specific synonym mappings so shoppers find products using related words or spellings (for example, mapping tröja to sweater and jumper for Swedish sv).
Synonyms are stored as a nested map of language → base term → synonym terms (for example { "sv": { "tröja": ["sweater", "jumper"] } }).
Settings
In Search → Settings, control which origins can call the GraphQL API and which attributes enter the search index:
| Setting | What it controls |
|---|---|
| Allowed domains | Browser requests to the Product Search API must come from a listed origin (for example shop.example.com), unless Allow all domains is enabled (*). |
| Variant attributes | When Include variant attributes is enabled, variant-level attribute values are included when filtering storefront search results. |
| Searchable attribute templates | Selects which attribute templates are indexed for storefront search, stored by each template’s key. |
Explorer
Use Search → Explorer in Enad Admin to run test GraphQL queries against your app and check how boosting, synonyms, and indexed attributes affect results.
Managing search via MCP
The ENAD MCP Server exposes four search configuration capabilities under capabilities_search and capabilities_execute:
search.get_configuration— read current boosted groups, searchable attribute template keys, allowed domains, and the variant-attributes setting.search.get_synonyms— read the full locale-to-term synonym map.search.draft_configuration_update— draft an update forchanges_preview. Array fields (searchableAttributesTemplateKeys,allowedDomains) replace the stored list when provided, and omitted fields stay unchanged.search.draft_synonyms_replace— draft a full synonym map replacement forchanges_preview.