getSettings from Java API

Hi !

Is the getSettings API available for JAVA somewhere ?
Something like
client.admin().indices().prepareGetSettings("myindexName") ....

I can't find it in the source but I know it exists in REST.

I need it to figure out existing Analyzer definitions and Analyzer
Aliases on a specific index before putting some new ones.

Thanks in advance.

Alex.

Here is how its executed on the REST layer using the java API:
https://github.com/elasticsearch/elasticsearch/blob/master/modules/elasticsearch/src/main/java/org/elasticsearch/rest/action/admin/indices/settings/RestGetSettingsAction.java
.

On Sun, Oct 23, 2011 at 1:40 AM, Alexandre azlist1@gmail.com wrote:

Hi !

Is the getSettings API available for JAVA somewhere ?
Something like
client.admin().indices().prepareGetSettings("myindexName") ....

I can't find it in the source but I know it exists in REST.

I need it to figure out existing Analyzer definitions and Analyzer
Aliases on a specific index before putting some new ones.

Thanks in advance.

Alex.