DocSearch migration
· 3 min read
DocSearch is migrating to a new, more powerful system, which gives users their own Algolia application and new credentials.
Docusaurus site owners should upgrade their configuration with their new credentials by February 1, 2022, existing search indexes will be frozen and become read-only after this date.
Upgrading your Docusaurus site
In the next few weeks, Docusaurus site owners will receive an email inviting them to join their personal Algolia application.
This email will include a new appId
and apiKey
to use in your Docusaurus configuration.
The only things you have to do:
- Join the Algolia application (eventually creating a new Algolia account)
- Update your site configuration.
docusaurus.config.js
const config = {
themeConfig: {
algolia: {
appId: '<NEW_APP_ID>',
apiKey: '<NEW_SEARCH_API_KEY>',
},
},
};
module.exports = config;
info
appId
is now required.
These keys are not secrets and can be added to your Git repository.