Re: Custom response header from Solr

2011-09-04 Thread Chris Hostetter
Merging of data from the response is up to the individual components -- if you write a MyCustomComponent that you want to work in distributed mode, then it not only needs to add data to the response when it's run on each shard, but it also needs to decide how to "merge" that data in the final

Custom response header from Solr

2011-09-01 Thread Jamie Johnson
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 di