Why not use the dedicated get aliases api? IndicesAdminClient#getAliases()