Re: Custom Component which removes documents from response

2012-03-02 Thread Jamie Johnson
I suppose it would help if I populated the list I try to remove things fromI believe it's working once I did that. Now that this is out there, is there a better way to do something like this? On Fri, Mar 2, 2012 at 10:19 PM, Jamie Johnson wrote: > On a previous version of a solr snapshot we

Custom Component which removes documents from response

2012-03-02 Thread Jamie Johnson
On a previous version of a solr snapshot we had a custom component which did the following boolean fsv = req.getParams().getBool(ResponseBuilder.FIELD_SORT_VALUES,false); if(fsv){ NamedList sortVals = (NamedList) rsp.getValues().get("sort_values");