# Updating the mappings and settings of an existing index

**URL:** <https://discuss.elastic.co/t/updating-the-mappings-and-settings-of-an-existing-index/23438>\
**Category:** Elasticsearch\
**Created:** [April 28, 2015, 1:10pm UTC](https://discuss.elastic.co/t/updating-the-mappings-and-settings-of-an-existing-index/23438 "2015-04-28T13:10:49Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Marcus\_Teixeira](https://avatars.discourse-cdn.com/v4/letter/m/da6949/32.png) [@Marcus\_Teixeira](https://discuss.elastic.co/u/Marcus_Teixeira)\
**Post date:** [April 28, 2015, 1:10pm UTC](https://discuss.elastic.co/t/updating-the-mappings-and-settings-of-an-existing-index/23438/1 "2015-04-28T13:10:49Z")

</div>

Hi... I have a application, I´m using elasticsearch, mongodb, radis to go  
on heroku to run this.

I made some changes on this files "searchable" and "elasticsearch", because  
I wanna remove ngran filter. by what I am seeing I will have to create a  
new index, but how I can do this?

what are the steps?

$ curl -X POST  
[https://x3ercej5:y5divyk63msqjthf@oak-1405661.us-east-1.bonsai.io/\_close](https://x3ercej5:y5divyk63msqjthf@oak-1405661.us-east-1.bonsai.io/_close)

$ heroku run rake environment elasticsearch:import:all DIR=app/models  
--trace

$ curl -X POST  
[https://x3ercej5:y5divyk63msqjthf@oak-1405661.us-east-1.bonsai.io/\_open](https://x3ercej5:y5divyk63msqjthf@oak-1405661.us-east-1.bonsai.io/_open)

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/facc4ac8-5be2-43bd-b1d3-87889cc27647%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/facc4ac8-5be2-43bd-b1d3-87889cc27647%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

**Author:** ![Marcus\_Teixeira](https://avatars.discourse-cdn.com/v4/letter/m/da6949/32.png) [@Marcus\_Teixeira](https://discuss.elastic.co/u/Marcus_Teixeira)\
**Post date:** [April 28, 2015, 1:30pm UTC](https://discuss.elastic.co/t/updating-the-mappings-and-settings-of-an-existing-index/23438/2 "2015-04-28T13:30:54Z")

</div>

obs: I´m using ruby on rails.

Em terça-feira, 28 de abril de 2015 10:10:49 UTC-3, Marcus Teixeira  
escreveu:

> Hi... I have a application, I´m using elasticsearch, mongodb, radis to go  
> on heroku to run this.
> 
> I made some changes on this files "searchable" and "elasticsearch",  
> because I wanna remove ngran filter. by what I am seeing I will have to  
> create a new index, but how I can do this?
> 
> what are the steps?
> 
> $ curl -X POST  
> [https://x3ercej5:y5divyk63msqjthf@oak-1405661.us-east-1.bonsai.io/\_close](https://x3ercej5:y5divyk63msqjthf@oak-1405661.us-east-1.bonsai.io/_close)
> 
> $ heroku run rake environment elasticsearch:import:all DIR=app/models  
> --trace
> 
> $ curl -X POST  
> [https://x3ercej5:y5divyk63msqjthf@oak-1405661.us-east-1.bonsai.io/\_open](https://x3ercej5:y5divyk63msqjthf@oak-1405661.us-east-1.bonsai.io/_open)

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/3c9cc8b3-f4eb-438f-932a-f71784a14ffb%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/3c9cc8b3-f4eb-438f-932a-f71784a14ffb%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<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:** [July 6, 2017, 12:17am UTC](https://discuss.elastic.co/t/updating-the-mappings-and-settings-of-an-existing-index/23438/3 "2017-07-06T00:17:24Z")

</div>


