On Mon, Feb 25, 2008 at 2:07 PM, Brian Whitman <[EMAIL PROTECTED]> wrote: > I'm in a request handler: public void > handleRequestBody(SolrQueryRequest req, SolrQueryResponse rsp) { > > And in here i want to form a SolrQuery based on the req, query the > searcher and return results. > > But how do I get a SolrServer out of the req? I can get a > SolrIndexSearcher but that doesn't seem to let me pass in a SolrQuery. > > I need a SolrQuery because I am forming a dismax query with a function > query, etc...
Perhaps back up and see if we can do this a simpler way than a request handler... What is the query structure you are trying to generate? -Yonik