@webbio/strapi-plugin-algolia

0.5.10 • Public • Published

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
			},
		],
	},
},

Readme

Keywords

none

Package Sidebar

Install

npm i @webbio/strapi-plugin-algolia

Weekly Downloads

42

Version

0.5.10

License

MIT

Unpacked Size

376 kB

Total Files

106

Last publish

Collaborators

  • fred-webbio
  • smdehaas
  • jaapwebbio
  • rowanpaul
  • mikewebbio
  • hayedewit
  • tomwebbio
  • maikelm
  • joerismits
  • martijn-webbio