Details
Description
Hello,
I'm trying to combine Nested facet, excludeTags (for multiselect filter searching) and a blockChildren for the first level.
The problem is that the first level of the facet is always showing result, but the differents nested levels in the facet shown empty results.
However, If i remove the excludeTags for the children facet, the result is good and come back to normal but i can't exclude tags for children of course.
This is the example :
url with json.facet :
http://url_solr:port/solr/index_name/query?&rows=0&json.facet=
{
FirstLevel:
{ domain:
{blockChildren:"DocType:parent",excludeTags:"DName1"},
type:terms,
field:dataChildren1.name1,
limit:-1
facet:{
SecondLevel:{
type:terms,
field:dataChildren1.name2,
limit:-1, domain:
facet:{
ThirdLevel:{
type:terms,
field:dataChildren1.name3,
limit:-1, domain:
}
}
}
}
},
FirstLevel2:
{ domain:
{blockChildren:"DocType:parent"},
type:terms,
field:dataChildren2.name1,
limit:-1,
facet:{
SecondLevel2:{
type:terms,
field:dataChildren2.name2,
limit:-1
facet:{
ThirdLevel2:
}
}
}
}
}
Example Filter (body json) :
{"filter":["(searchTextPrio1:\"text one\" OR searchTextPrio1:\"text 2\")","
{!parent which=\"DocType:parent\"} ( {!tag=DName2}dataChildren1.name2:\"a text\" AND {!tag=DGufid}dataChildren1.name3:number) OR ( {!tag=DName2}dataChildren1.name2:\"a text\" AND {!tag=DGufid}dataChildren1.name3:number) OR ( {!tag=DName2}dataChildren1.name2:\"a text\" AND {!tag=DGufid}dataChildren1.name3:number) ","{!parent which=\"DocType:parent\"} ( {!tag=DName1} dataChildren1.name1:\"a text\")"],"query":"DocType:parent"}
Could you help me to find the problem ?
Thank you for your future help.