elasticsearch/elasticsearch — pull request #7145 by javanna (2014-08-04 10:49:07+00:00)
Title: MultiGet Api: fail when using no routing and an alias to an index that h...

The multi_get api currently should always return an error when trying to get a document without routing if the routing is set to required. Yet, when using an alias to retrieve the document, a failure is not returned.

The problem is that the` routingRequired` check needs to be done passing in the resolved concrete index.

Added same test for get api as well.