Skip to content

Commit

Permalink
Revert "chore: update elasticsearch page size to 15k (#4336)" (#4337)
Browse files Browse the repository at this point in the history
This reverts commit ec8966b.
  • Loading branch information
Ali-D-Akbar authored Apr 24, 2024
1 parent ec8966b commit 6e7dcef
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions course_discovery/settings/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 = 15000
ELASTICSEARCH_DSL_QUERYSET_PAGINATION = 10000

# Defining default pagination for all requests to ElasticSearch,
# whose parameters 'size' and 'from' are not explicitly set.
ELASTICSEARCH_DSL_LOAD_PER_QUERY = 15000
ELASTICSEARCH_DSL_LOAD_PER_QUERY = 10000

MAX_RESULT_WINDOW = 15000

Expand Down

0 comments on commit 6e7dcef

Please sign in to comment.