my mappings:
{
"mappings":{
"test":{
"properties":{
"date":{
"type":"nested",
"properties":{....}
}
}
}
}
}
after i reindexing the index, the type of date become normal array object, it's not nested any more. Why ???
My re-index script:
ES.reindex(
{
"source":{
"index":"test"
},
"dest":{
"index":"test-v1"
},
}
)