else { // Check if the index instance is running
// (this will also update the node replication for local-only indexes - handy side effect!)
boolean bAllGood = true;
ElasticSearchManager esm = null;
esm = ElasticSearchManager.getIndex("association_index");
bAllGood &= esm.pingIndex();
esm = ElasticSearchManager.getIndex("entity_index");
bAllGood &= esm.pingIndex();
bAllGood &= (DbManager.getSocial().getCommunity().count() > 0);
// (also test connection to the DB)