lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hoss Man (Commented) (JIRA)" <>
Subject [jira] [Commented] (SOLR-1052) Deprecate/Remove <indexDefaults> in favor of <mainIndex> in solrconfig.xml
Date Wed, 01 Feb 2012 01:34:56 GMT


Hoss Man commented on SOLR-1052:

bq. This is how config deprecations should work in my opinion. No need to advertise to new
users the use of a syntax that we want to go away. It would be more confusing for the C) people
to see deprecation warnings being printed OOTB from their brand new search engine without
knowing how to fix it


Patch looks good to me.  my one suggestion, since there seems to be consensus that solr should
complain louder when there are config errors, is that instead of removing the existing "warn"
calls on those already deprecated Solr 1.x legacy conf syntax, why not leave in those checks
but the "warn(...)" calls with "throw new SolrException(...)" ?

> Deprecate/Remove <indexDefaults> in favor of <mainIndex> in solrconfig.xml
> --------------------------------------------------------------------------
>                 Key: SOLR-1052
>                 URL:
>             Project: Solr
>          Issue Type: Improvement
>            Reporter: Grant Ingersoll
>            Assignee: Jan H√łydahl
>            Priority: Minor
>              Labels: solrconfig.xml
>             Fix For: 3.6, 4.0
>         Attachments: SOLR-1052-3x.patch
> Given that we now handle multiple cores via the solr.xml and the discussion around <indexDefaults>
and <mainIndex> at
> We should deprecate/remove the use of indexDefaults and just rely on mainIndex, as it
doesn't seem to serve any purpose and is confusing to explain.    

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