Return-Path: Delivered-To: apmail-lucene-solr-user-archive@minotaur.apache.org Received: (qmail 44712 invoked from network); 28 Jan 2009 16:35:53 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 28 Jan 2009 16:35:53 -0000 Received: (qmail 14500 invoked by uid 500); 28 Jan 2009 16:35:48 -0000 Delivered-To: apmail-lucene-solr-user-archive@lucene.apache.org Received: (qmail 14470 invoked by uid 500); 28 Jan 2009 16:35:48 -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 14459 invoked by uid 99); 28 Jan 2009 16:35:48 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 28 Jan 2009 08:35:48 -0800 X-ASF-Spam-Status: No, hits=-4.0 required=10.0 tests=RCVD_IN_DNSWL_MED,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of jnewburn@zappos.com designates 66.209.92.160 as permitted sender) Received: from [66.209.92.160] (HELO mailer2.zappos.com) (66.209.92.160) by apache.org (qpsmtpd/0.29) with SMTP; Wed, 28 Jan 2009 16:35:40 +0000 Received: (qmail 31302 invoked from network); 28 Jan 2009 16:35:20 -0000 Received: from unknown (HELO mail.zappos.com) (10.206.173.4) by 10.66.209.20 with SMTP; 28 Jan 2009 16:35:20 -0000 Received: from mail.zappos.com (localhost [127.0.0.1]) by mail.zappos.com (Postfix) with ESMTP id 352DC7B24B5 for ; Wed, 28 Jan 2009 08:35:20 -0800 (PST) Received: from EXCHANGE.corp.zappos.com (exchange1.corp.zappos.com [10.206.173.33]) by mail.zappos.com (Postfix) with ESMTP id 29EA27B24A6 for ; Wed, 28 Jan 2009 08:35:20 -0800 (PST) Received: from 10.110.113.1 ([10.110.113.1]) by EXCHANGE.corp.zappos.com ([10.206.173.38]) via Exchange Front-End Server outlook.zappos.com ([10.206.190.21]) with Microsoft Exchange Server HTTP-DAV ; Wed, 28 Jan 2009 16:34:21 +0000 User-Agent: Microsoft-Entourage/12.0.0.071130 Date: Wed, 28 Jan 2009 08:34:19 -0800 Subject: Re: Changing to multicore From: Jeff Newburn To: Message-ID: Thread-Topic: Changing to multicore Thread-Index: AcmBZkRXSvvDAU1DIkmfxKuZvFD7Sw== In-Reply-To: <9C9DE43D-B8AA-4EEE-898E-F3F908F22C7B@aeriagames.com> Mime-version: 1.0 Content-type: text/plain; charset="US-ASCII" Content-transfer-encoding: 7bit X-Virus-Scanned: ClamAV using ClamSMTP X-Virus-Checked: Checked by ClamAV on apache.org Tried that. Basically, solr really didn't want to do the internal rewrite. So essentially we would have to rewrite with a full redirect and then change the solrj source to allow it to follow the redirect. We are going with an external rewriter. However, the seemingly easiest way would be to just have the system allow some default core when one is not specified. If anyone has a suggestion on where in the code to find this it or thoughts on why to not have this in the system for conversions please let me know. 1/28/09 8:28 AM, "Bryan Talbot" wrote: > I would think that using a servlet filter to rewrite the URL should be > pretty strait forward. You could write your own or use a tool like > http://tuckey.org/urlrewrite/ > and just configure that. > > Using something like this, I think the upgrade procedure could be: > - install rewrite filter to rewrite multi-core URL to non-multi-core > URL for all solr instances. > - upgrade app to use multi-core URL > - upgrade solr instances to multi-core when convenient and remove > rewrite filter > > > > -Bryan > > > > > On Jan 28, 2009, at Jan 28, 7:17 AM, Jeff Newburn wrote: > >> We are moving from single core to multicore. We have a few servers >> that we >> want to migrate one at a time to ensure that each one functions. This >> process is proving difficult as there is no default core to allow the >> application to talk to the solr servers uniformly (ie without a core >> name >> during conversion). Would it be possible to re-add the default core >> as a >> configuration setting in solr.xml to allow for a smoother >> conversion? Am I >> missing a setting that would help with this process? >> >> -Jeff >