Correct TransformerFactory.defaultFactories initialCapacity. (Diego Ceccarelli via Christine Poerschke)

This commit is contained in:
Christine Poerschke 2016-09-30 13:51:02 +01:00
parent dbc29c0adc
commit 08a5951adf
1 changed files with 1 additions and 1 deletions

View File

@ -40,7 +40,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<>(7, 1.0f);
public static final Map<String,TransformerFactory> defaultFactories = new HashMap<>(9, 1.0f);
static {
defaultFactories.put( "explain", new ExplainAugmenterFactory() );
defaultFactories.put( "value", new ValueAugmenterFactory() );