1
DELETE /rosetta_account
POST /rosetta_account/account_number
{
"settings" : {
"number_of_shards" : 20,
"number_of_replicas" : 2,
"index_analyzer" : "standard",
"search_analyzer" : "standard",
"date_detection" : false
}
}
curl -s -XPOST localhost:9200/rosetta_account/account_number/_bulk --data-binary @data.file
{"took":68,"errors":true,"items":[{"create":{"_index":"rosetta_account","_type":"account_number","_id":"123456789","status":400,"error":"WriteFailureException; nested: MapperParsingException[failed to parse [customer_upgrade_dt]]; nested: MapperParsingException[failed to parse date field [], tried both date format [dateOptionalTime], and timestamp number with locale []]; nested: IllegalArgumentException[Invalid format: \"\"]; "}}