Fix ES limiting nested results to 3
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