[
https://issues.apache.org/jira/browse/SOLR-1052?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13194548#comment-13194548
]
Jan Høydahl commented on SOLR-1052:
-----------------------------------
Disagree. I see three types of people we have to support:
A) Someone simply upgrades the WAR and continue use their old configs. They
will get a deprecation warning in the logs but else everyting is as before.
B) Previous Solr users who wants to upgrade config properly. They will clearly
see the new preferred config, and if they use it, they are ready for the
deprecation without surprise. Or they may copy/paste own customizations with
indexDefaults if they choose.
C) Totally new to Solr. Version 3.6 is their first download and they get it all
right - with less confusion - out of the door, no surprises in 4.0.
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..
What lacks in the patch is fixing all the other variants of solrconfig.xml all
around the place..
> Deprecate/Remove <indexDefaults> in favor of <mainIndex> in solrconfig.xml
> --------------------------------------------------------------------------
>
> Key: SOLR-1052
> URL: https://issues.apache.org/jira/browse/SOLR-1052
> 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
> http://www.lucidimagination.com/search/p:solr?q=mainIndex+vs.+indexDefaults
> 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:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]