lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ivan Hrytsyuk (Created) (JIRA)" <>
Subject [jira] [Created] (SOLR-2877) SolrInputDocument performance improvements
Date Fri, 04 Nov 2011 17:21:51 GMT
SolrInputDocument performance improvements

                 Key: SOLR-2877
             Project: Solr
          Issue Type: Improvement
          Components: SearchComponents - other
    Affects Versions: 3.4
            Reporter: Ivan Hrytsyuk

org.apache.solr.common.SolrInputDocument has only single default constructor.
Since it's a LinkedHashMap, it's initialised with default initialCapacity=16 and loadFactor=0.75.
That produces bad performance in situations when your document contains 10000+ different fields.

org.apache.solr.common.SolrInputDocument class needs to have a constructor that allows to
specify initialCapacity and loadFactor arguments.

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