elastic / elasticsearch-migration

This plugin will help you to check whether you can upgrade directly to the next major version of Elasticsearch, or whether you need to make changes to your data and cluster before doing so.
290 stars 32 forks source link

index_analyzer usage not flagged #52

Closed nemonster closed 8 years ago

nemonster commented 8 years ago

Migration plugin was run on current deployment and it appears that this mapping should have been flagged. No warnings however. Seems like it may be related to #23 but that seemed to have been concerned with the check being too strict.

{
   "product": {
      "mappings": {
         "productUser": {...},
         "item": {
            "dynamic_templates": [...],
            "_all": {...},
            "properties": {
...
               "field_four": {
                  "type": "string",
                  "analyzer": "shingle_analyzer",
                  "path": "just_name",
                  "fields": {
                     "field_four_full": {
                        "type": "string",
                        "index": "not_analyzed",
                        "doc_values": true
                     },
                     "field_four_syn": {
                        "type": "string",
                        "index_analyzer": "standard",
                        "search_analyzer": "syn_analyzer"
                     }
                  }
               },
...
         },
         "catalog": {...}
      }
   }
}        
clintongormley commented 8 years ago

This upgrade is handled correctly by 2.0, 2.1, 2.2, 2.3 - closing