I'm having 2 indexes: images and gallery. gallery has only IDs of the images. Is there a way in Elasticsearch to return/resolve that data in the response? Or do I need to do 2 queries and resolve them on my own?
// image
{ id: 1, url: 'foo.bar' }
{ id: 2, url: 'foo.bar' }
// gallery
[1,2]
// result should be
[{ id: 1, url: 'foo.bar' }, { id: 2, url: 'foo.bar' }]