Return-Path: Delivered-To: apmail-lucene-solr-user-archive@minotaur.apache.org Received: (qmail 22415 invoked from network); 6 Jun 2009 07:39:30 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 6 Jun 2009 07:39:30 -0000 Received: (qmail 99808 invoked by uid 500); 6 Jun 2009 07:39:40 -0000 Delivered-To: apmail-lucene-solr-user-archive@lucene.apache.org Received: (qmail 99735 invoked by uid 500); 6 Jun 2009 07:39:40 -0000 Mailing-List: contact solr-user-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: solr-user@lucene.apache.org Delivered-To: mailing list solr-user@lucene.apache.org Received: (qmail 99725 invoked by uid 99); 6 Jun 2009 07:39:40 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 06 Jun 2009 07:39:40 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of noble.paul@gmail.com designates 209.85.198.230 as permitted sender) Received: from [209.85.198.230] (HELO rv-out-0506.google.com) (209.85.198.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 06 Jun 2009 07:39:32 +0000 Received: by rv-out-0506.google.com with SMTP id l9so907460rvb.5 for ; Sat, 06 Jun 2009 00:39:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:reply-to:received :in-reply-to:references:from:date:x-google-sender-auth:message-id :subject:to:content-type:content-transfer-encoding; bh=zWadn3HL+CFmEUVim/k7S0ODssFtXS+6yBF5qWjkWg8=; b=FFvN77uNXBnMFfHPfw5dwSXXDdpyQsTxgjdEnaJcg2ykLrxkVrew8eABuufVnX4ImI E7+iI1JkCzFmdkMCbac3RwOq67rG9UyPlzch85kkt1ShrL70KF5Nx1LVhL/SrlSmRprk QpKxz09Hqv6GFCr4+G0SYspif4kARYC0aFDKk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:reply-to:in-reply-to:references:from:date :x-google-sender-auth:message-id:subject:to:content-type :content-transfer-encoding; b=NqCdblq2wU2e6iqTDXTmwCz4uhtMbulRaVE/wBF6TVha+yNDW2wjedqmq//FwcYjsy jkowmPx4kIu8gVe/TzhS8VMSD+fn/sSkCUJhPnqi5fxFFhnf9iWiN6Ii0xpLfY9hqi59 c0mUnlHH9YQ2ZjKnYcJ7nnYuceceubYPqW9q4= MIME-Version: 1.0 Sender: noble.paul@gmail.com Reply-To: noble.paul@gmail.com Received: by 10.141.179.5 with SMTP id g5mr3882291rvp.264.1244273952076; Sat, 06 Jun 2009 00:39:12 -0700 (PDT) In-Reply-To: <69de18140906052225j67ff1655ge15b7256c7cdea06@mail.gmail.com> References: <69de18140906052225j67ff1655ge15b7256c7cdea06@mail.gmail.com> From: =?UTF-8?B?Tm9ibGUgUGF1bCDgtKjgtYvgtKzgtL/gtLPgtY3igI0gIOCkqOCli+CkrOCljeCks+CljQ==?= Date: Sat, 6 Jun 2009 13:08:52 +0530 X-Google-Sender-Auth: 26a962b6a8ead366 Message-ID: <5e76b0ad0906060038o1e37aeb7l4263c09a6c8be02a@mail.gmail.com> Subject: Re: Does Solr know what host and port it is running on? To: solr-user@lucene.apache.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org can it be added into the solrconfig.xml or solr.xml ? On Sat, Jun 6, 2009 at 10:55 AM, Shalin Shekhar Mangar wrote: > On Sat, Jun 6, 2009 at 9:58 AM, Grant Ingersoll wro= te: > >> Does Solr know what host and port it is running on and, if so, how do I = get >> access to it programmatically? =A0I feel like I'm missing something obvi= ous. >> > > No, it does not. You can only get this on the first request. > > There's an issue open at https://issues.apache.org/jira/browse/SOLR-727 > > -- > Regards, > Shalin Shekhar Mangar. > --=20 ----------------------------------------------------- Noble Paul | Principal Engineer| AOL | http://aol.com