[ 
https://issues.apache.org/jira/browse/SOLR-1052?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13217126#comment-13217126
 ] 

Jan Høydahl commented on SOLR-1052:
-----------------------------------

I'm thinking that {{<indexConfig>}} is a better name than {{<mainIndex>}} once 
we remove the concept of multiple indexes.

So in next version of patch I'll deprecate both {{indexDefaults}} and 
{{mainIndex}} and let {{indexConfig}} be the new section name.

I'm also changing some defaults so that the effect of not specifying this 
section at all will give you the settings from example solrconfig.xml. These 
are:
* useCompoundFile = false (if luceneMatchVersion >= LUCENE_36, else true)
* ramBufferSizeMB = 32
* lockType = native (if luceneMatchVersion >= LUCENE_36, else use simple)
                
> 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, 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: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org

Reply via email to