Return-Path: X-Original-To: apmail-lucene-dev-archive@www.apache.org Delivered-To: apmail-lucene-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 80E9C99ED for ; Mon, 6 Feb 2012 00:38:26 +0000 (UTC) Received: (qmail 8610 invoked by uid 500); 6 Feb 2012 00:38:24 -0000 Delivered-To: apmail-lucene-dev-archive@lucene.apache.org Received: (qmail 8504 invoked by uid 500); 6 Feb 2012 00:38:23 -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 8497 invoked by uid 99); 6 Feb 2012 00:38:23 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 06 Feb 2012 00:38:23 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 06 Feb 2012 00:38:20 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 48E9C1A5AE6 for ; Mon, 6 Feb 2012 00:37:59 +0000 (UTC) Date: Mon, 6 Feb 2012 00:37:59 +0000 (UTC) From: =?utf-8?Q?Jan_H=C3=B8ydahl_=28Commented=29_=28JIRA=29?= To: dev@lucene.apache.org Message-ID: <579470586.455.1328488679300.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (SOLR-1758) schema definition for configuration files (validation, XSD) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/SOLR-1758?page=3Dcom.atlassian.= jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D13200= 979#comment-13200979 ]=20 Jan H=C3=B8ydahl commented on SOLR-1758: ----------------------------------- A "not validating" warning due to pre Solr4.x version sounds good to me. Would it make more sense to keep the xsd file(s) inside the WAR instead of = in example/solr/conf? This way you don't need to copy all the schemas (for = v4.0, 4.1, 4.2 etc) around with your solr config. Then add a JavaOpt which = can disable validation -{{Dsolr.validate=3Dfalse}} =20 > schema definition for configuration files (validation, XSD) > ----------------------------------------------------------- > > Key: SOLR-1758 > URL: https://issues.apache.org/jira/browse/SOLR-1758 > Project: Solr > Issue Type: New Feature > Reporter: Jorg Heymans > Labels: configuration, schema.xml, solrconfig.xml, validatio= n, xsd > Fix For: 4.0 > > Attachments: config-validation-20110523.patch > > > It is too easy to make configuration errors in Solr without getting warni= ngs. We should explore ways of validation configurations. See mailing list = discussion at http://search-lucene.com/m/h6xKf1EShE6 -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrato= rs: https://issues.apache.org/jira/secure/ContactAdministrators!default.jsp= a For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org For additional commands, e-mail: dev-help@lucene.apache.org