* feat(medusa-plugin-meilisearch): Upgrade meilisearch deps + migrate plugin to TS * fix version * Remove transaction base service from search service * Create .changeset/strange-mails-pump.md * Backward compatibility * Address PR feedback * Fix folder structure * Update readme * Move types * fix deps * Change version in changeset --------- Co-authored-by: adrien2p <adrien.deperetti@gmail.com>
medusa-plugin-meilisearch
Meilisearch Plugin for Medusa to search for products.
Learn more about how you can use this plugin in the documentaion.
Options
{
config: {
host: "[your meilisearch host]",
},
settings: {
"[indexName]": "[meilisearch settings passed to meilisearch's `updateSettings()` method]"
// example
products: {
indexSettings: {
searchableAttributes: ["title", "description", "variant_sku"],
displayedAttributes: ["title", "description", "variant_sku", "thumbnail", "handle"],
},
primaryKey: "some_id"
transformer: (product: Product) => ({ id: product.id })
}
}
}