Skip to content

Commit

Permalink
chore: update elasticsearch page size to 15k (#4336)
Browse files Browse the repository at this point in the history
  • Loading branch information
Ali-D-Akbar authored Apr 24, 2024
1 parent 29c1bd6 commit ec8966b
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 = 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

Expand Down

0 comments on commit ec8966b

Please sign in to comment.