I'm working on a Solr system that has parent/children items in the index:
id="id":"123456",
ss_type:"parent"
&
ss_parent_id=:"123456",
ss_type:"child"
How do I create a Facet showing Parent items that have children and Parent items that have no children?
I think this query gives me the results:
q={!join from=ss_parent_id to=id} *:*
But can I make that a facet that returns something like:
With Children: 201
Without Children: 109
If not, is there a work-around?