Replace "new IndicesGetAliasesRequest()" with "new GetAliasesRequest(null)", this should work
See also RestGetAliasesAction.java Jörg -- You received this message because you are subscribed to the Google Groups "elasticsearch" group. To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/CAKdsXoHfU2%2B_pto4fngriJ-vn6c_zOs69sayg%2BLe%2BhMNex_gmw%40mail.gmail.com. For more options, visit https://groups.google.com/groups/opt_out.