feat(medusa-plugin-meilisearch): Update + improve Meilisearch plugin (#3377)
* 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>
This commit is contained in:
1 parent
4213326fe8
commit
7e17e0ddc2
21 files changed
+377
-217
No files matched your search
@@ -15,8 +15,12 @@ Learn more about how you can use this plugin in the [documentaion](https://docs.
|
||||
"[indexName]": "[meilisearch settings passed to meilisearch's `updateSettings()` method]"
|
||||
// example
|
||||
products: {
|
||||
searchableAttributes: ["title", "description", "variant_sku"],
|
||||
displayedAttributes: ["title", "description", "variant_sku", "thumbnail", "handle"],
|
||||
indexSettings: {
|
||||
searchableAttributes: ["title", "description", "variant_sku"],
|
||||
displayedAttributes: ["title", "description", "variant_sku", "thumbnail", "handle"],
|
||||
},
|
||||
primaryKey: "some_id"
|
||||
transformer: (product: Product) => ({ id: product.id })
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user