Avoid loading objects from DB in ES results
We already have most of the information we want to display in Elasticsearch results inside ES itself, so instead of finding (and returning!) the full ES object and only using the ID to get the database object, we instead use a Lite object that quacks like the original and uses the info from Elasticsearch. We do this for: - Projects - Issues - Merge Requests - Milestones
Showing
Please register or sign in to comment