But the GetSettingsResponse that is returned does not contain this information, although it is returned from the server (the following json was extracted from an intercepting proxy):
With the old RestHighLevelClient the org.elasticsearch.action.admin.indices.settings.get.GetSettingsResponse contained two entries: indexToSettings for the custom settings made by the user and indexToDefaultSettings for the default settings.
When calling the method
ElasticsearchIndicesClient.getSettings(...)
method, it is possible to add theincludeDefaults
parameter and set that to true:But the
GetSettingsResponse
that is returned does not contain this information, although it is returned from the server (the following json was extracted from an intercepting proxy):With the old
RestHighLevelClient
theorg.elasticsearch.action.admin.indices.settings.get.GetSettingsResponse
contained two entries:indexToSettings
for the custom settings made by the user andindexToDefaultSettings
for the default settings.