Hi I use fq= '{!collapse field=id_publ}' in a question to get distinct publications id:s, it works fine. Then i got three facets and in one of them i want to collapse on another level. For each organisation id i want to count distinct publication id:s. To do that i start with suppressing the collapse in fq (facet.field={!ex=collapse}id_publ), but i dont knew how to count the distinct publication id:s for each organisation id. Does anyone have an idea how to do it? I use Solr 7.2.1 .
Regards Carl-Johan Syrén