lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Peter Wolanin (JIRA)" <>
Subject [jira] [Updated] (SOLR-232) let Solr set request headers (for logging)
Date Sun, 24 Apr 2011 17:07:05 GMT


Peter Wolanin updated SOLR-232:

    Attachment: SOLR-232.patch

Here's a patch against Solr 3.1 just as a proof of concept that adds the hits as a response
header X-Solr-Hits

Apparently this code has been commented out so long that the log call and other things changed.

> let Solr set request headers (for logging)
> ------------------------------------------
>                 Key: SOLR-232
>                 URL:
>             Project: Solr
>          Issue Type: New Feature
>         Environment: tomcat?
>            Reporter: Ian Holsman
>            Priority: Minor
>         Attachments: SOLR-232.patch, meta.patch
> I need the ability to log certain information about a request so that I can feed it into
performance and capacity monitoring systems.
> I would like to know things like
> - how long the request took 
> - how many rows were fetched and returned
> - what handler was called.
> per request.
> the following patch is 1 way to implement this, I'm sure there are better ways.

This message is automatically generated by JIRA.
For more information on JIRA, see:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message