lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jamie Johnson <jej2...@gmail.com>
Subject Custom response header from Solr
Date Thu, 01 Sep 2011 19:24:09 GMT
Is there a way to add arbitrary values into the response header?  I
have a need to insert a boolean into the header and doing something
like

SolrQueryResponse rsp = rb.rsp;
rsp.getResponseHeader().add("testValue", Boolean.TRUE);

Works so long as the query is not distributed.  When the query is
distributed what the individual shards add to the header seem to be
thrown away.  Is there a mechanism for the shard to influence the
header?

Mime
View raw message