Commit 97c7c193 by Clinton Blackburn

Retrieving larger batches of Haystack results

The larger batches help decrease the number of Elasticsearch calls we make to retreive results.

ECOM-5439
parent b7a33a89
......@@ -348,6 +348,9 @@ SWAGGER_SETTINGS = {
'permission_denied_handler': 'course_discovery.apps.api.views.api_docs_permission_denied_handler'
}
# Haystack configuration (http://django-haystack.readthedocs.io/en/v2.5.0/settings.html)
HAYSTACK_ITERATOR_LOAD_PER_QUERY = 200
HAYSTACK_CONNECTIONS = {
'default': {
'ENGINE': 'course_discovery.apps.edx_haystack_extensions.backends.EdxElasticsearchSearchEngine',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment