目前,很多业务中的对象都拥有复杂的数据结构,例如包含日期、气象信息、地理地图信息、对象或数组等。假设您的数据结构如下:
{
"took" : 21,
"timed_out" : false,
"_shards" : {
"total" : 5,
"successful" : 5,
"skipped" : 0,
"failed" : 0
},
"hits" : {
"total" : 6,
"max_score" : 1.3968885,
"hits" : [
{
"_index" : "product_info",
"_type" : "products",
"_id" : "WLvWYXAB8Rql5AUxLqUU",
"_score" : 1.3968885,
"_source" : {
"productName" : "productName1",
"annual_rate" : "3.1100%",
"describe" : "xxxxxxxx"
}
},
{
..............................
},
{
..............................
},
{
..............................
}
}
]
}
}
</