Skip to content
Snippets Groups Projects

Fix ES limiting nested results to 3

Merged 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.

:tada: 100th merge request!

Edited by Erwan Rouchet

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
Please register or sign in to reply
Loading