SOLR-8566: TransformerFactory.defaultFactories initialCapacity tweak

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1725469 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Christine Poerschke 2016-01-19 11:09:35 +00:00
parent 7875ed457d
commit f0362f6248
2 changed files with 4 additions and 1 deletions

View File

@ -543,6 +543,9 @@ Other Changes
* SOLR-7907: Remove CLUSTERSTATUS related exclusivity checks while running commands in the Overseer because the
CLUSTERSTATUS request is served by the individual nodes itself and not via the Overseer node (Varun Thacker)
* SOLR-8566: various initialCapacity tweaks (Fix Versions: trunk 5.5)
(Christine Poerschke)
================== 5.4.1 ==================
Bug Fixes

View File

@ -41,7 +41,7 @@ public abstract class TransformerFactory implements NamedListInitializedPlugin
public abstract DocTransformer create(String field, SolrParams params, SolrQueryRequest req);
public static final Map<String,TransformerFactory> defaultFactories = new HashMap<>();
public static final Map<String,TransformerFactory> defaultFactories = new HashMap<>(7, 1.0f);
static {
defaultFactories.put( "explain", new ExplainAugmenterFactory() );
defaultFactories.put( "value", new ValueAugmenterFactory() );