Add Analyzer to existing fields in index

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

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

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