Hi!
I have added a new field property to an existing field and now I want to reindex only the newly added field property.
My old index mappings were
{
"org_assignee_name" : {
"type" : "text",
"fields" : {
"keyword" : {
"type" : "keyword"
},
"shingle_original" : {
"type" : "text",
"analyzer" : "shingle_original",
"fielddata" : true
},
"standard" : {
"type" : "text",
"analyzer" : "standard",
"fielddata" : true
},
"standard_shingle" : {
"type" : "text",
"analyzer" : "standard_shingle",
"fielddata" : true
}
},
"fielddata" : true
},
}
I added a new analyzer and added an extra property to the field:
PUT
{
"properties": {
"td_assignee_country_code": {
"type":"text",
"fields": {
"standard_stopwords": {
"type": "text",
"analyzer":"standard_stopwords",
"fielddata":true
}
}
}
}
}
And my new field is:
{
"org_assignee_name" : {
"type" : "text",
"fields" : {
"keyword" : {
"type" : "keyword"
},
"shingle_original" : {
"type" : "text",
"analyzer" : "shingle_original",
"fielddata" : true
},
"standard" : {
"type" : "text",
"analyzer" : "standard",
"fielddata" : true
},
"standard_shingle" : {
"type" : "text",
"analyzer" : "standard_shingle",
"fielddata" : true
}
},
"standard_stopwords" : {
"type" : "text",
"analyzer" : "standard_stopwords",
"fielddata" : true
},
"fielddata" : true
},
}
I don't want to reindex the whole index again as my data set is very large and the initial index took about 6 hours.
I have the raw data uploaded already and I was wondering how it is possible to reindex only the newly added field property? That is, only index the 'org_assignee_name.standard_stopwords' from the raw data set and keep the other field properties the same index or ignore it during the reindex process?
Thank you!