I am wondering if I can get a little clarification. When a query is run:
"The coordinating node identifies which documents need to be fetched and issues a multi
GET request to the relevant shards."
I am wondering what determines "relevant shards."
For example our index pattern for a search is "search-ids" and is mapped to "ids-alerts-*"
If our users attempt to run a query that is only one day old, will Elasticsearch automatically attempt to query every single index (because ids-alerts-* was selected) or will it recognize that it only needs to view the most recent index to retrieve the relevant data.