You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by Markus Jelsma <ma...@openindex.io> on 2012/06/05 13:55:05 UTC

SolrDispatchFilter, no hits in response NamedList if distrib=true

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