SolrDispatchFilter, no hits in response NamedList if distrib=true
I'm adding the numFound to the HTTP response header in a custom SolrDispatchFilter in the writeResponse() method, similar to the commented code in doFilter(). This works just fine but not for distributed requests. I'm trying to read "hits" from the SolrQueryResponse but it is not there for distrib=true requests. Any idea what i'm doing wrong?