如果我们的文档对象结构如下:
{
"id":"123",
"sex":"male",
"extra":[
{
"name":"chinese",
"score":100,
"important":"high"
},
{
"name":"english",
"score":70,
"important":"low"
},
{
"name":"math",
"score":90,
"important":"highest"
}
]
},
{
"id":"456",
"sex":"female",
"extra":[
{
"name":"chinese",
"score":80,
"important":"high"
},
{
"name":"english",
"score":60,
"important":"low"