# ElasticSearch 6.2

**URL:** <https://discuss.elastic.co/t/elasticsearch-6-2/133108>\
**Category:** Elasticsearch\
**Created:** [May 24, 2018, 9:50am UTC](https://discuss.elastic.co/t/elasticsearch-6-2/133108 "2018-05-24T09:50:27Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![neelam.mamtani](https://avatars.discourse-cdn.com/v4/letter/n/71c47a/32.png) [@neelam.mamtani](https://discuss.elastic.co/u/neelam.mamtani)\
**Post date:** [May 24, 2018, 9:50am UTC](https://discuss.elastic.co/t/elasticsearch-6-2/133108/1 "2018-05-24T09:50:27Z")

</div>

How can I update existing index mapping/settings by java high level rest client. I do not see PutMapping is released yet. Any pointer how to do that with current version.  
I tried to use lowlevel client with PUT method, but I got index\_already\_exists\_exception.

client.performRequest("PUT", "/index12",  
map, entity, new BasicHeader("content-type","application/json"));

---

<div class="post-metadata">

**Author:** ![cbuescher](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/cbuescher/32/60402_2.png) [@cbuescher](https://discuss.elastic.co/u/cbuescher)\
**Post date:** [June 1, 2018, 9:24am UTC](https://discuss.elastic.co/t/elasticsearch-6-2/133108/2 "2018-06-01T09:24:44Z")

</div>

Hi @neelam.mamtani,

sorry, put mapping isn't available in the High Level Client in 6.2, but we are in the process of adding more functionality to it in future minor versions. In the meanwhile the low level client it the only option.  
Not sure about the exception, but the index might already exist really. Have you checked?

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [June 29, 2018, 9:24am UTC](https://discuss.elastic.co/t/elasticsearch-6-2/133108/3 "2018-06-29T09:24:46Z")

</div>

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