Framework integration / Django

Use the following Python commands to manage your Algolia indices:

  • python manage.py algolia_reindex: reindex all the registered models. This command first sends all records to a temporary index and then moves it. Pass --model as a parameter to reindex a specific model
  • python manage.py algolia_applysettings: apply or reapply the index settings.
  • python manage.py algolia_clearindex: clear the index

These commands require at least version 2 of the Django integration.

Did you find this page helpful?