: Solr cannot assume that the request would always come from http (think
: of EmbeddedSolrServer) .So it assumes that there are only parameters

exactly.

: Your best bet is to modify SolrDispatchFilter and readthe params and
: set them in the SolrRequest Object

SolrDispatchFilter is designed to be subclassed to make this easy by 
overriding the execute method...

  protected void execute( HttpServletRequest req, SolrRequestHandler handler, 
                          SolrQueryRequest sreq, SolrQueryResponse rsp) {
    sreq.getContext().put( "HttpServletRequest", req );
    super.execute( req, handler, sreq, rsp )
  }

-Hoss

Reply via email to