lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jan Høydahl (Commented) (JIRA) <>
Subject [jira] [Commented] (SOLR-1052) Deprecate/Remove <indexDefaults> in favor of <mainIndex> in solrconfig.xml
Date Mon, 27 Feb 2012 09:27:48 GMT


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:
>             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
> 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