getAsStructuredMap no longer available in Elasticsearch 6.2.4

Hi,

I am upgrading our Java API to Elasticsearch 6.2.4. I see following methods are removed between version 6.0.x and 6.1.x -

org.elasticsearch.common.settings.Settings
public java.util.Map<java.lang.String,java.lang.String> getAsMap()
public java.util.Map<java.lang.String,java.lang.Object> getAsStructuredMap()

In 6.2.4 these method are no longer available.

What is the the alternative way to handle this?

Map<String, Object> params = settings.getAsStructuredMap();

My code uses above code line in a method to extract the data from oracle using JDBCImporter.

Thanks,
Prajakta

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