Elasticsearch: index replicas set incorrectly and index health broken with no license
On a clean startup with no license (community edition), the index replicas are set incorrectly to "1" (should be zero for a single cms node), and the index health does not work (returns error when you click on it).
https://imgur.com/a/QWBBg
@chrismccracken did you check that AUTOWIRE_CLUSTER_ES=true ? and AUTOWIRE_MANAGE_ES_REPLICAS is either true or commented out (defaults to true)?
Will be solved in: https://github.com/dotCMS/core/issues/13900
This PR fixes the error when clicking on the index health: https://github.com/dotCMS/core/pull/13922
Passed QA
Using community edition(no license) on a clean startup, index replicas are set to "0" for a single cms node and index health shows appropriate data when clicking on it.

Tested on Mac OS 10.10 / Postgres 9.6.6 / Chrome v64.0.3282.167 / Tomcat 8 / Java 8.6