Return-Path: Delivered-To: apmail-lucene-solr-user-archive@locus.apache.org Received: (qmail 58206 invoked from network); 3 Mar 2007 09:36:47 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 3 Mar 2007 09:36:47 -0000 Received: (qmail 2727 invoked by uid 500); 3 Mar 2007 09:36:54 -0000 Delivered-To: apmail-lucene-solr-user-archive@lucene.apache.org Received: (qmail 2703 invoked by uid 500); 3 Mar 2007 09:36:54 -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 2694 invoked by uid 99); 3 Mar 2007 09:36:54 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 03 Mar 2007 01:36:54 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: local policy) Received: from [198.182.208.147] (HELO barrel.benrey.is-a-geek.net) (198.182.208.147) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 03 Mar 2007 01:36:43 -0800 Received: from localhost (barrel.benrey.is-a-geek.net [127.0.0.1]) by barrel.benrey.is-a-geek.net (Postfix) with ESMTP id 0C9187D4E3 for ; Sat, 3 Mar 2007 01:36:22 -0800 (PST) Received: from barrel.benrey.is-a-geek.net ([127.0.0.1]) by localhost (barrel.benrey.is-a-geek.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 19057-06 for ; Sat, 3 Mar 2007 01:36:20 -0800 (PST) Received: from [192.168.45.200] (unknown [192.168.45.200]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by barrel.benrey.is-a-geek.net (Postfix) with ESMTP id 35BCC7D4DF for ; Sat, 3 Mar 2007 01:36:20 -0800 (PST) Message-ID: <45E94191.5010005@benrey.is-a-geek.net> Date: Sat, 03 Mar 2007 01:36:17 -0800 From: Jed Reynolds User-Agent: Thunderbird 1.5.0.9 (X11/20070104) MIME-Version: 1.0 To: solr-user@lucene.apache.org Subject: Re: merely a suggestion: schema.xml validator or better schema validation logging References: <45E7BAC2.8040001@benrey.is-a-geek.net> <45E8DCD6.2060700@benrey.is-a-geek.net> <176776ee0703021842j36eb931chc678168daef3a78@mail.gmail.com> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: amavisd-new at benrey.is-a-geek.net X-Virus-Checked: Checked by ClamAV on apache.org Bertrand Delacretaz wrote: > On 3/3/07, Ryan McKinley wrote: > >> ...The rationale with the solrconfig stuff is that a broken config >> should >> behave as best it can. This is great if you are running a real site >> with people actively using it - it is a pain in the ass if you are >> getting started and don't notice errors.... > > I think it's a PITA in any case, I like my systems to fail loudly when > something's wrong in the configs (with details about what's happening, > of course). > > -Bertrand > I think it's interesting seeing the difference. The system at CNET obviously needed to fail gracefully before it needed to fail fast. I have the luxury of a dev environment and fail-fast is exactly the kinda thing I want so I know about as many limitations and problems as soon as possible. Having this behavior toggled would be idea. Version the solrconfig.xml between a fail-graceful for your production branch and a fail-fast for your dev branch. Jed