config.setHosts( hosts);
// reuse or create new indexes as needed
String indexAlias = dataMap.getString("indexAlias");
ESIndexAPI iapi=new ESIndexAPI();
Map<String,String> aliasMap=iapi.getAliasToIndexMap(APILocator.getSiteSearchAPI().listIndices());
if(counter==1){
if(indexAlias.equals(APILocator.getIndiciesAPI().loadIndicies().site_search)){
Logger.info(this, "Index Alias is DEFAULT");
indexName = APILocator.getIndiciesAPI().loadIndicies().site_search;