Re: searchcomponent howto ...

2009-07-01 Thread DJP
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

Re: Collapse Results

2009-06-08 Thread DJP
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" /> > > > > > >

Re: searchcomponent howto ...

2009-06-08 Thread DJP
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