private void initAliases ( ) throws Exception { if ( aliases != null && aliases . length > 0 ) { for ( String aliasIndex : aliases ) { Tuple < String , String > aliasIndexSplitted = computeAlias ( aliasIndex ) ; createAlias ( client . getLowLevelClient ( ) , aliasIndexSplitted . v2 ( ) , aliasIndexSplitted . v1 ( ) ) ; } } }
Init aliases if needed .