elasticsearch/elasticsearch — pull request #6401 by mdaniel (2014-06-03 19:59:19+00:00)
Title: Guard the auto expand replicas setting against improper values

This is the PR for Issue #5752

It updates the documentation to be more precise, and adds guards in the code to ensure the values are recognized, and if not it emits a log message and throws an exception with a more helpful message.