Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
Better handling of /_all/_search when no indices exist #3710
At the moment, a search against a cluster which has no indices will return a 503 Service Unavailable. This is a "big" error code which in other places means that a node or cluster is down.
Rather throw an IndexMissing exception with a 404. Similarly, the same should apply to count, mlt etc etc