Unable to create a new index using ES 6.1.2

I am trying to create a new index using RestHighLevelClient but instead of "client.indices.putMapping()" its just giving me "IndicesClient" and i can't see any method to create a new index can anyone help please ?

it's coming in 6.2 https://github.com/elastic/elasticsearch/pull/28263

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