lucene-solr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ryan McKinley (JIRA)" <>
Subject [jira] Updated: (SOLR-179) Save me from myself! Abort on configuration errors
Date Thu, 26 Apr 2007 23:31:15 GMT


Ryan McKinley updated SOLR-179:

    Attachment: SOLR-179-ConfigurationErrors.patch

compiles with trunk.  I will commit this as it does not require anyone to change their solrconfig.xml
(except to override the behavior)

> Save me from myself!  Abort on configuration errors
> ---------------------------------------------------
>                 Key: SOLR-179
>                 URL:
>             Project: Solr
>          Issue Type: Improvement
>            Reporter: Ryan McKinley
>         Assigned To: Ryan McKinley
>             Fix For: 1.2
>         Attachments: SOLR-179-ConfigurationErrors.patch, SOLR-179-ConfigurationErrors.patch,
> When something goes wrong in solr configuration, I want solr to stop working and loudly
say "something went wrong"  This patch adds a collection of severe errors to SolrConfig. 
If abortOnConfigurationError=true and there are errors, the SolrDispatchFilter prints out
a nice message saying "hey something went wrong!"
> The specific things that were hidden in error files that will now give dramatic error
>  * unknown class for RequestHandler/ResponseWriter
>  * any exception throw during handler/writer init()
> If you want to disable this behavior (perhaps for a production environment) you need
to add:
>   <abortOnConfigurationError>false</abortOnConfigurationError>
> to solrconfig.xml
> for more discussion, see:

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message