# Add Analyzer to existing fields in index

**URL:** <https://discuss.elastic.co/t/add-analyzer-to-existing-fields-in-index/78290>\
**Category:** Elasticsearch\
**Created:** [March 12, 2017, 5:59pm UTC](https://discuss.elastic.co/t/add-analyzer-to-existing-fields-in-index/78290 "2017-03-12T17:59:12Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Adrian\_Abbassian](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/adrian_abbassian/32/16272_2.png) [@Adrian\_Abbassian](https://discuss.elastic.co/u/Adrian_Abbassian)\
**Post date:** [March 12, 2017, 5:59pm UTC](https://discuss.elastic.co/t/add-analyzer-to-existing-fields-in-index/78290/1 "2017-03-12T17:59:12Z")

</div>

Im working with Meteor and MongoDB

The index with all properties are set.  
Now i wanna add to every Property field the Analyzer

example with one field (doesnt work, because the field "title" already exist)  
\> PUT easysearch/\_mapping/projects  
\> {  
\> "properties": {  
\> "title": {  
\> "type": "text",  
\> "analyzer": "myAnalyzer",  
\> "search\_analyzer": "standard"  
\> }  
\> }  
\> }

the Analyzer is already set:

```
> PUT /easysearch/_settings
> {
> "settings" : {
> "analysis" : {
> "analyzer" : {
> "myAnalyzer" : {
> "type" : "custom",
> "tokenizer" : "whitespace",
> "filter" : ["split_on_numerics"]
> }
> },
> "filter" : {
> "split_on_numerics" : {
> "type" : "word_delimiter",
> "split_on_numerics" : true,
> "split_on_case_change" : true,
> "generate_word_parts" : true,
> "generate_number_parts" : true,
> "catenate_words" : true
> }
> }
> }
> }
> }

```

any help :x?  
im new to ES, maybe im to dumb for it xd

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [March 12, 2017, 6:24pm UTC](https://discuss.elastic.co/t/add-analyzer-to-existing-fields-in-index/78290/2 "2017-03-12T18:24:17Z")

</div>

You cannot alter things like this after they already exist (ie have data in them).  
You will need to reindex to have this applied.

---

<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:** [April 9, 2017, 6:24pm UTC](https://discuss.elastic.co/t/add-analyzer-to-existing-fields-in-index/78290/3 "2017-04-09T18:24:18Z")

</div>

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