Java API getAsMap in Settings disappeared


I am currently upgrading our Java API Elasticsearch and stumbled across a method that has been removed between version 6.0.x and 6.1.x - without it being mentioned in the breaking changes.

This is with respect to the class

In 6.0.x (and lower versions) there was a method called
getAsMap() - which returned a flat hash map of the settings

In 6.1.x and higher this method is no longer available.

Any reason why?
Are there alternative ways to handle this?

(Jest Client takes a hash map when creating an index)


(system) #2

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.