我有以下索引文件
{
"id":"data1",
"isParent":"1",
"_childDocuments":[
{
"description":"Benefit and Payroll consultant with HR team ",
"isParent":"2",
"exp":2
},
{
"description":" ERP Avalon Implementation and Support Payroll",
"isParent":"2",
"exp":5
}
]
}
我怎样才能形成一个查询
select?q= : &fq=(description:Payroll AND sum(exp):7)
并获取父文档 id data1作为响应。
请指导我如何使用我的索引文档实现上述查询和响应