【发布时间】:2018-06-21 16:24:05
【问题描述】:
我有以下索引文档
{
"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 作为响应。
请指导我如何使用我的索引文档实现上述查询和响应
【问题讨论】:
-
我可以使用构面实现这一点吗??
标签: solr parent-child solr6 nested-documents