@webbio/strapi-plugin-algolia
v0.5.10
Published
This plugin helps to upload strapi content types to algolia.
Downloads
172
Maintainers
Keywords
Readme
Strapi plugin algoliasearch
With this plugin you can configure content types to upload to algolia. Its possible to configure the index name and the content of the model.
If a content type has draftAndPublish enabled it will only upload to algolia on publish.
Usage
install the plugin and add in plugin.js / plugin.ts:
algolia: {
enabled: true,
resolve: plugin location,
config: {
appId: secret,
adminApiKey: secret,
contentTypes: [
{
uid: 'contenttype uid', --required
index: 'name of index in algolia for this type', --required
populate: 'strapi populate string', --required
idPrefix: 'podcast-. this has to be used if you want to upload different contenttypes to the same index.' --optional
},
],
},
},