lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tomás Fernández Löbbe (JIRA) <>
Subject [jira] [Commented] (SOLR-2079) Expose HttpServletRequest object from SolrQueryRequest object
Date Thu, 18 Apr 2013 19:32:14 GMT


Tomás Fernández Löbbe commented on SOLR-2079:

I would find this very useful, specially for custom components that may require the original
request information like headers. Right now there are no good options to get this information,
out of the box is not available and there is no easy way to extend the SolrRequestParsers
or SolrDispatchFilter (without recompiling/redeploying) to customize this parsing. 
I like the proposition of adding the object to the SolrRequest context. I'm attaching a possible
> Expose HttpServletRequest object from SolrQueryRequest object
> -------------------------------------------------------------
>                 Key: SOLR-2079
>                 URL:
>             Project: Solr
>          Issue Type: Improvement
>          Components: Response Writers, search
>            Reporter: Chris A. Mattmann
>             Fix For: 4.3
>         Attachments: SOLR-2079.patch, SOLR-2079.Quach.Mattmann.082310.patch.txt
> This patch adds the HttpServletRequest object to the SolrQueryRequest object. The HttpServletRequest
object is needed to obtain the client's IP address for geotargetting, and is part of the patches
from W. Quach and C. Mattmann.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:

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

View raw message