Re: Programmatic access to other handlers

2009-03-12 Thread Chris Hostetter
: I implement the interface and it returns me the current core. But how is it : different from doing request.getCore() from handleRequestBody()? And I don't i think ryan missunderstood your goal .. that's just a way for you to get access to your core prior to handling requests. : see how this c

Re: Programmatic access to other handlers

2009-03-12 Thread Pascal Dimassimo
RequestHandler mlt = core.getRequestHandler("/mlt"); >>> ModifiableSolrParams params = new >>> ModifiableSolrParams(req.getParams()); >>> params.set("mlt.fl", "nFullText"); >>> req.setParams(params); >>> mlt.handleReque

Re: Programmatic access to other handlers

2009-03-12 Thread Ryan McKinley
Second question: how could I call a handler of another core? -- View this message in context: http://www.nabble.com/Programmatic-access-to-other-handlers-tp22477731p22483357.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: Programmatic access to other handlers

2009-03-12 Thread Pascal Dimassimo
; > mlt.handleRequest(req, rsp); > > First question: is this the recommended way to call another handler? > Second question: how could I call a handler of another core? > -- View this message in context: http://www.nabble.com/Programmatic-access-to-other-handlers-tp22477731p22483357.html Sent from the Solr - User mailing list archive at Nabble.com.

Programmatic access to other handlers

2009-03-12 Thread Pascal Dimassimo
ld I call a handler of another core? -- View this message in context: http://www.nabble.com/Programmatic-access-to-other-handlers-tp22477731p22477731.html Sent from the Solr - User mailing list archive at Nabble.com.