Re: do SearchComponents have access to response contents

2013-04-05 Thread xavier jmlucjav
I knew I could do that at jetty level with a servlet for instance, but the user wants to do this stuff inside solr code itself. Now that you mention the logs...that could be a solution without modifying the webapp... thanks for the input! xavier On Fri, Apr 5, 2013 at 7:55 AM, Amit Nithian wrot

Re: do SearchComponents have access to response contents

2013-04-04 Thread Amit Nithian
"We need to also track the size of the response (as the size in bytes of the whole xml response tat is streamed, with stored fields and all). I was a bit worried cause I am wondering if a searchcomponent will actually have access to the response bytes..." ==> Can't you get this from your container

Re: do SearchComponents have access to response contents

2013-04-04 Thread xavier jmlucjav
A custom QueryResponseWriter...this makes sense, thanks Jack On Wed, Apr 3, 2013 at 11:21 PM, Jack Krupansky wrote: > The search components can see the "response" as a namedlist, but it is > only when SolrDispatchFIlter calls the QueryResponseWriter that XML or JSON > or whatever other format (J

Re: do SearchComponents have access to response contents

2013-04-03 Thread Jack Krupansky
The search components can see the "response" as a namedlist, but it is only when SolrDispatchFIlter calls the QueryResponseWriter that XML or JSON or whatever other format (Javabin as well) is generated from the named list for final output in an HTTP response. You probably want a custom query