Skip to content

Fix ES limiting nested results to 3

Erwan Rouchet requested to merge fix-es-nested into master

ElasticSearch limits the size of nested queries to three to prevent some lag. This adds a Django setting passed to each query template to set the inner_hits.size property.

Also includes a REST framework-esque refactoring of the search API views and better unit tests.

🎉 100th merge request!

Edited by Erwan Rouchet

Merge request reports

Loading