SolrDispatchFilter, no hits in response NamedList if distrib=true

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

SolrDispatchFilter, no hits in response NamedList if distrib=true

Markus Jelsma-2
Hi,

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?

Thanks,
Markus