Hi, is there some way to restrict/filter the facetting results? Our use case is the following:
Our documents have a multi value field, which holds user ids, so the values might be like this: doc1 = ['UserA', 'UserB', 'UserC'] doc2 = ['UserA', 'UserB'] doc3 = ['UserA', 'UserC'] Now I execute a search using a filter which restricting to documents related to (UserB OR UserC). The result set will contain all three documents, so the facetting result will be UserA: 3 UserB: 2 UserC: 2 What I want to have is just: UserB: 2 UserC: 2 Is there some existing solution for that? I'm currently thinking about implementing a custom facet aggregation function, which only counts values in my reference set (UserB, UserC). I checked the code and it looks feasible, but I'm not (yet?) and expert of SOLR internals. Any hints, guidance, links to existing projects, patches, ... would be very appreciated. cheers, Achim