# Command to change fieldtype of an index

**URL:** <https://discuss.elastic.co/t/command-to-change-fieldtype-of-an-index/186275>\
**Category:** Elasticsearch\
**Created:** [June 18, 2019, 2:08pm UTC](https://discuss.elastic.co/t/command-to-change-fieldtype-of-an-index/186275 "2019-06-18T14:08:43Z")\
**Posts on this page:** 1\
**Showing post:** 11

<div class="post-metadata">

**Author:** ![Dominic\_Page](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dominic_page/32/48318_2.png) [@Dominic\_Page](https://discuss.elastic.co/u/Dominic_Page)\
**Post date:** [June 21, 2019, 7:58am UTC](https://discuss.elastic.co/t/command-to-change-fieldtype-of-an-index/186275/11 "2019-06-21T07:58:38Z")

</div>

Hi @pathri

you might want to take a look at this thread

> [@Update API timeout](https://discuss.elastic.co/t/update-api-timeout/152760/3):
>
> @spinscale i'm getting the following exception { "statusCode": 504, "error": "Gateway Time-out", "message": "Client request timeout" }

where the user had the same issue while using the same API

Hope this helps!

---

_[View the full topic](https://discuss.elastic.co/t/command-to-change-fieldtype-of-an-index/186275)._
