Alexandre
(Alexandre)
October 22, 2011, 11:40pm
1
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.
kimchy
(Shay Banon)
October 23, 2011, 12:13am
2
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.