Skip to content

Commit

Permalink
DOC: the algolia:initialize rake task was renamed into algolia:reindex (
Browse files Browse the repository at this point in the history
  • Loading branch information
ZogStriP committed Feb 15, 2023
1 parent c17ba39 commit 0de9b24
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -82,7 +82,7 @@ Once all of the settings are turned on and populated, the plugin configuration s
Once you have enabled the Algolia plugin and added an application ID and admin API key, you can now index all of your forum's content. Run the following rake task in your Discourse directory:

```shell
LOAD_PLUGINS=1 bundle exec rails algolia:initialize
LOAD_PLUGINS=1 bundle exec rails algolia:reindex
```

This will create and configure three indices - `discourse-users`, `discourse-posts`, and `discourse-tags` - and then populate them by loading data from your database and sending it to Algolia. The data will be searchable as soon as the task is finished. You can now enable the **algolia autocomplete enabled** setting of the plugin, reload the page of your Discourse, and try the autocomplete search.
Expand Down

0 comments on commit 0de9b24

Please sign in to comment.