thanks. that's what I was looking for.
On Mon, Jun 22, 2009 at 4:15 PM, Chris Hostetter
wrote:
> : and then ask,
> :- how can i set the value of query so that it is reflected in the 'q'
> : node of the search results e.g. solr.
> : the example 'process' method above works, but the original
both CollapseComponent and QueryComponent
execute searches and add results to the Response.
To get only Collapse results, remove the QueryComponent from the
requestHandler.
In solrconfig.xml, I added:
>
>class="org.apache.solr.handler.component.CollapseComponent" />
>
>
>
>
>
>
sorry. my 'tab' character is linked to 'send'. i meant to include this bit
of source
@Override
public void process(ResponseBuilder rb) throws IOException {
SolrQueryRequest request = rb.req;
SolrParams params = request.getParams();
String