Investigate if msearch is a possibility instead of doing two queries

Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.

Background

Querying two indices to support searching issues and the related notes is done by doing two separate calls to each index.

Proposal

Investigate if _msearch could be used to reduce the number of ES calls

https://github.com/elastic/elasticsearch-ruby/blob/555873e78631998bfc021c254f869d2345ef2a75/elasticsearch-api/lib/elasticsearch/api/actions/msearch.rb#L63

Edited by 🤖 GitLab Bot 🤖