Hello Everyone,
While reindexing the index from one server to another, I have three date fields except timestamps. Some fields are empty. Due to empty fields I am getting a date parser exception I want it ignore empty date fields and process the data.
POST _reindex
{
"source": {
"remote": {
"host": "http://xxx.xxx.xxx.xxx:1992",
"username": "user1111",
"password": "xxxxxxxxxxxxxx"
},
"index": "final_inter_sms",
"query":
{
"match_all": {}
}
},
"dest": {
"index": "international_sms"
}
}
How I can update above script query to get What I want. Is there any way to ingore this parser error and fetch all records from one server to another?