From f0362f62480e0da4090fcb01ac69c12b933d087a Mon Sep 17 00:00:00 2001 From: Christine Poerschke Date: Tue, 19 Jan 2016 11:09:35 +0000 Subject: [PATCH] SOLR-8566: TransformerFactory.defaultFactories initialCapacity tweak git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1725469 13f79535-47bb-0310-9956-ffa450edef68 --- solr/CHANGES.txt | 3 +++ .../org/apache/solr/response/transform/TransformerFactory.java | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/solr/CHANGES.txt b/solr/CHANGES.txt index 3eb1a828f4a..6bd8e6d6b39 100644 --- a/solr/CHANGES.txt +++ b/solr/CHANGES.txt @@ -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 diff --git a/solr/core/src/java/org/apache/solr/response/transform/TransformerFactory.java b/solr/core/src/java/org/apache/solr/response/transform/TransformerFactory.java index f459ae4dca2..249651b0e79 100644 --- a/solr/core/src/java/org/apache/solr/response/transform/TransformerFactory.java +++ b/solr/core/src/java/org/apache/solr/response/transform/TransformerFactory.java @@ -41,7 +41,7 @@ public abstract class TransformerFactory implements NamedListInitializedPlugin public abstract DocTransformer create(String field, SolrParams params, SolrQueryRequest req); - public static final Map defaultFactories = new HashMap<>(); + public static final Map defaultFactories = new HashMap<>(7, 1.0f); static { defaultFactories.put( "explain", new ExplainAugmenterFactory() ); defaultFactories.put( "value", new ValueAugmenterFactory() );