From c996f3bf34cad98f7c1b157f29c8cf570334aa7b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9gis=20Behmo?= Date: Thu, 31 Oct 2024 13:39:32 +0100 Subject: [PATCH] disable course indexing on course import --- tutor/commands/jobs.py | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/tutor/commands/jobs.py b/tutor/commands/jobs.py index 10893ccd19..25cd2aeaa5 100644 --- a/tutor/commands/jobs.py +++ b/tutor/commands/jobs.py @@ -178,7 +178,13 @@ def importdemocourse( python ./manage.py cms import ../data "$course_root" # Re-index courses -./manage.py cms reindex_course --all --setup""" +# TODO this is no longer compatible with meilisearch indexing. That is, until this PR is merged: +# https://github.com/openedx/edx-platform/pull/35743 +# Anyway, it doesn't make much sense to reindex *all* courses after a single one has +# been created. Thus we should # rely on course authors to press the "reindex" button in +# the studio after the course has # been imported. +#./manage.py cms reindex_course --all --setup +""" yield ("cms", template)