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...


Reply via email to