[ https://issues.apache.org/jira/browse/SOLR-2894?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13912660#comment-13912660 ]
Elran Dvir commented on SOLR-2894: ---------------------------------- By the way, when I profiled our very slow distributed pivot, I noticed most of the time is wasted in val.get(i) in trimExcessValuesBasedUponFacetLimitAndOffset in PivotFacetHelper.java. The following change (in the first two lines of the function) has shown a significant improvement: List<NamedList<Object>> newVal = new LinkedList<NamedList<Object>>(); if (val == null) return val; to: if (val == null) return val; List<NamedList<Object>> newVal = new ArrayList<NamedList<Object>>(val.size()); Thanks. > Implement distributed pivot faceting > ------------------------------------ > > Key: SOLR-2894 > URL: https://issues.apache.org/jira/browse/SOLR-2894 > Project: Solr > Issue Type: Improvement > Reporter: Erik Hatcher > Fix For: 4.7 > > Attachments: SOLR-2894-reworked.patch, SOLR-2894.patch, > SOLR-2894.patch, SOLR-2894.patch, SOLR-2894.patch, SOLR-2894.patch, > SOLR-2894.patch, SOLR-2894.patch, SOLR-2894.patch, SOLR-2894.patch, > SOLR-2894.patch, SOLR-2894.patch, SOLR-2894.patch, SOLR-2894.patch, > SOLR-2894.patch, SOLR-2894.patch, SOLR-2894.patch > > > Following up on SOLR-792, pivot faceting currently only supports > undistributed mode. Distributed pivot faceting needs to be implemented. -- This message was sent by Atlassian JIRA (v6.1.5#6160) --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org