From ec8966b01e4898b5051da95926e045c1fb688af9 Mon Sep 17 00:00:00 2001 From: Ali Akbar <52413434+Ali-D-Akbar@users.noreply.github.com> Date: Wed, 24 Apr 2024 18:18:34 +0500 Subject: [PATCH] chore: update elasticsearch page size to 15k (#4336) --- course_discovery/settings/base.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/course_discovery/settings/base.py b/course_discovery/settings/base.py index aad79e5f81..9ba33591ea 100644 --- a/course_discovery/settings/base.py +++ b/course_discovery/settings/base.py @@ -461,11 +461,11 @@ # (by default it uses the database driver's default setting) # https://docs.djangoproject.com/en/3.1/ref/models/querysets/#iterator # Thus set the 'chunk_size' -ELASTICSEARCH_DSL_QUERYSET_PAGINATION = 10000 +ELASTICSEARCH_DSL_QUERYSET_PAGINATION = 15000 # Defining default pagination for all requests to ElasticSearch, # whose parameters 'size' and 'from' are not explicitly set. -ELASTICSEARCH_DSL_LOAD_PER_QUERY = 10000 +ELASTICSEARCH_DSL_LOAD_PER_QUERY = 15000 MAX_RESULT_WINDOW = 15000