How about &facet.query=-field:[* TO *] as a way to see a count of docs that 
don’t have field?

    Erik 

> On Jan 5, 2019, at 04:45, Arvydas Silanskas <nma.arvydas.silans...@gmail.com> 
> wrote:
> 
> Hello,
> I have an enum solr fieldtype. When I do a facet search, I want that all
> the enum values appear in the facet -- and setting field.mincount = 0 is
> not enough. It only works, if there exist a document with the matching
> value for the field, but it was filtered out by current query (and then I'm
> returned that facet value with the count 0). But can I make it to also
> return the values that literally none of the documents in the index have?
> The values, that only appear in the enum declaration xml.

Reply via email to