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
Merge request reports
Activity
added 2 commits
added 1 commit
- fab6a359 - Move SearchAPIMixin to arkindex.project.mixins
added 6 commits
-
fab6a359...6121c0a1 - 2 commits from branch
master
- 80b7fd08 - Add a setting for ES nested results size
- 83e2625e - Refactor search APIs
- 18179600 - Rewrite search unit tests
- b592b444 - Move SearchAPIMixin to arkindex.project.mixins
Toggle commit list-
fab6a359...6121c0a1 - 2 commits from branch
mentioned in commit 94fd57ba
Please register or sign in to reply