lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mike Sokolov (Commented) (JIRA)" <>
Subject [jira] [Commented] (SOLR-1758) schema definition for configuration files (validation, XSD)
Date Mon, 02 Apr 2012 02:14:27 GMT


Mike Sokolov commented on SOLR-1758:

Jan, I agree that keeping the schemas in the WAR would be more convenient for most cases.
 I would usually put something like this in WEB-INF/classes so it is easy to retrieve using
the ClassLoader.getResource method, but I'm not completely sure how to do this in the solr
build?  Are there any other non-classes resources packaged that way?  The other option would
be to place the file in the solr/webapp/web folder in the source tree; then it would end up
(I think) in WEB-INF, and could be loaded using the ServletContext.  Or maybe it should actually
be made visible via the solr webapp?

Also it still might be useful to be able to override with a schema in the conf folder? 

I'll look into migrating this stuff to trunk.
> schema definition for configuration files (validation, XSD)
> -----------------------------------------------------------
>                 Key: SOLR-1758
>                 URL:
>             Project: Solr
>          Issue Type: New Feature
>            Reporter: Jorg Heymans
>              Labels: configuration, schema.xml, solrconfig.xml, validation, xsd
>             Fix For: 4.0
>         Attachments: config-validation-20110523.patch
> It is too easy to make configuration errors in Solr without getting warnings. We should
explore ways of validation configurations. See mailing list discussion at

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:!default.jspa
For more information on JIRA, see:


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message