When updating the content, it was found that the updated content and the read content fields were not in the same order.
- version is:
// 20210625115137
{
"name": "372aac1d4b15",
"cluster_name": "tommy-es",
"cluster_uuid": "aimcpcOURx6ObbTPPfE65A",
"version": {
"number": "7.9.2",
"build_flavor": "default",
"build_type": "docker",
"build_hash": "d34da0ea4a966c4e49417f2da2f244e3e97b4e6e",
"build_date": "2020-09-23T00:45:33.626720Z",
"build_snapshot": false,
"lucene_version": "8.6.2",
"minimum_wire_compatibility_version": "6.8.0",
"minimum_index_compatibility_version": "6.0.0-beta1"
},
"tagline": "You Know, for Search"
}
- update
POST idx_product/_update/644351684569
{
"doc": {
"bs_html_body": {
"detail": [
{
"F": "234432414",
"Fit": "432423",
"TTT": "GDE53253245GCVXC",
"Catefory": "GRTR543532FSFqr",
"CFDG": "e54325wrwer",
"C": "FS543253245DF"
}
]
}
},
"doc_as_upsert": false
}
The obtained structure is
"detail" : [
{
"Fit" : "432423",
"Catefory" : "GRTR543532FSFqr",
"C" : "FS543253245DF",
"TTT" : "GDE53253245GCVXC",
"F" : "234432414",
"CFDG" : "e54325wrwer"
}
]
How to ensure that I update the data sequentially.