SOLR-7711: Correct initial capacity for the list that holds the default components for the SearchHandler

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1687151 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Varun Thacker 2015-06-24 03:51:58 +00:00
parent b255b716c3
commit 77443b8b92
2 changed files with 4 additions and 1 deletions

View File

@ -246,6 +246,9 @@ Other Changes
* The "name" parameter in ADDREPLICA Collections API call has be deprecated. One cannot specify
the core name for a replica. See SOLR-7499 for more info. (Varun Thacker, noble, Erick Erickson)
* SOLR-7711: Correct initial capacity for the list that holds the default components for the SearchHandler
(Christine Poerschke via Varun Thacker)
================== 5.2.1 ==================
Consult the LUCENE_CHANGES.txt file for additional, low level, changes in this release

View File

@ -78,7 +78,7 @@ public class SearchHandler extends RequestHandlerBase implements SolrCoreAware ,
protected List<String> getDefaultComponents()
{
ArrayList<String> names = new ArrayList<>(6);
ArrayList<String> names = new ArrayList<>(8);
names.add( QueryComponent.COMPONENT_NAME );
names.add( FacetComponent.COMPONENT_NAME );
names.add( FacetModule.COMPONENT_NAME );