23 lines
580 B
Markdown
23 lines
580 B
Markdown
# medusa-plugin-algolia
|
|
|
|
Algolia Plugin for Medusa to search for products.
|
|
|
|
Learn more about how you can use this plugin in the [documentaion](https://docs.medusajs.com/add-plugins/algolia).
|
|
|
|
## Options
|
|
|
|
```js
|
|
{
|
|
application_id: "someId",
|
|
admin_api_key: "someApiKey",
|
|
settings: {
|
|
[indexName]: [algolia settings passed to algolia's `updateSettings()` method]
|
|
// example
|
|
products: {
|
|
searchableAttributes: ["title", "description", "variant_sku", "type_value"],
|
|
attributesToRetrieve: ["title", "description", "variant_sku", "type_value"],
|
|
}
|
|
}
|
|
}
|
|
```
|