Return-Path: Delivered-To: apmail-lucene-dev-archive@www.apache.org Received: (qmail 80385 invoked from network); 23 Aug 2010 15:30:46 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 23 Aug 2010 15:30:46 -0000 Received: (qmail 21395 invoked by uid 500); 23 Aug 2010 15:30:45 -0000 Delivered-To: apmail-lucene-dev-archive@lucene.apache.org Received: (qmail 21315 invoked by uid 500); 23 Aug 2010 15:30:44 -0000 Mailing-List: contact dev-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@lucene.apache.org Delivered-To: mailing list dev@lucene.apache.org Received: (qmail 21308 invoked by uid 99); 23 Aug 2010 15:30:44 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 23 Aug 2010 15:30:44 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 23 Aug 2010 15:30:44 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o7NFUNPv007904 for ; Mon, 23 Aug 2010 15:30:23 GMT Message-ID: <21920383.509921282577423750.JavaMail.jira@thor> Date: Mon, 23 Aug 2010 11:30:23 -0400 (EDT) From: "Chris A. Mattmann (JIRA)" To: dev@lucene.apache.org Subject: [jira] Commented: (SOLR-2079) Expose HttpServletRequest object from SolrQueryRequest object In-Reply-To: <29982466.508251282573638110.JavaMail.jira@thor> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/SOLR-2079?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12901443#action_12901443 ] Chris A. Mattmann commented on SOLR-2079: ----------------------------------------- bq. The IP may be often that of a load balancer or proxy that sits in front of Solr... Yep, that's certainly true, but not always the case. Additionally, this kind of sets the stage for more formalized IP detection (or more flexible), but it at least gets us started in that direction. Furthermore, it's likely that a load balancer would be "close" even geographically to the eventual destination server, so geotargetting would still be useful in that sense. But, I agree this isn't the *only* or *best* solution. I'm just opening the door here to be able to do interesting things... > Expose HttpServletRequest object from SolrQueryRequest object > ------------------------------------------------------------- > > Key: SOLR-2079 > URL: https://issues.apache.org/jira/browse/SOLR-2079 > Project: Solr > Issue Type: Improvement > Components: Response Writers, search > Reporter: Chris A. Mattmann > Fix For: 3.1 > > Attachments: 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. - You can reply to this email to add a comment to the issue online. --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org For additional commands, e-mail: dev-help@lucene.apache.org