Hi all,
Am trying to set up the index in my new environment which is installed with elasticsearch version 6.6.1. The index is already in use in production having elasticsearch version 6.5.1.
I get the following Exception while creating the index which is already used in production.
{
"error": {
"root_cause": [
{
"type": "settings_exception",
"reason": "Failed to load settings from [.....complete index structure.....]",
"caused_by": {
"type": "illegal_state_exception",
"reason": "only value lists are allowed in serialized settings"
}
},
"status": 500
}
The analyzer i have in Index is as follows
"analysis" : {
"filter" : {
"email_filter" : {
"type" : "pattern_capture",
"preserve_original" : "true",
"patterns" : [
"([^@]+)",
"(\p{L}+)",
"(\d+)",
"@(.+)"
]
},
"autocomplete_filter" : {
"type" : "edge_ngram",
"min_gram" : "3",
"max_gram" : "10"
}
},
"char_filter" : {
"digit_only" : {
"pattern" : "\D+",
"type" : "pattern_replace",
"replacement" : ""
}
},
"analyzer" : {
"number_analyzer" : {
"filter" : [
"trim"
],
"char_filter" : [
"digit_only"
],
"type" : "custom",
"tokenizer" : "digit_edge_ngram_tokenizer"
},
"email_analyzer" : {
"filter" : [
"email_filter",
"lowercase",
"unique"
],
"tokenizer" : "uax_url_email"
},
"search_number_analyzer" : {
"filter" : [
"trim"
],
"char_filter" : [
"digit_only"
],
"type" : "custom",
"tokenizer" : "keyword"
},
"autocomplete" : {
"filter" : [
"lowercase",
"autocomplete_filter"
],
"type" : "custom",
"tokenizer" : "standard"
}
},
"tokenizer" : {
"digit_edge_ngram_tokenizer" : {
"token_chars" : [
"digit"
],
"min_gram" : "3",
"type" : "edgeNGram",
"max_gram" : "15"
}
}
},
Any quick response will be very helpful. Kindly let me know if you need complete index structure.