[ https://issues.apache.org/jira/browse/SOLR-9876?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15757680#comment-15757680 ]
ASF GitHub Bot commented on SOLR-9876: -------------------------------------- GitHub user rustamhsmv opened a pull request: https://github.com/apache/lucene-solr/pull/126 SOLR-9876 Reuse CountSlotArrAcc internal array for same level subFacets All facet processors are processed sequentially. We can reuse CountSlotArrAcc internal array across same level facet processors instead of reallocating new array for each. You can merge this pull request into a Git repository by running: $ git pull https://github.com/rustamhsmv/lucene-solr FacetReusable Alternatively you can review and apply these changes as the patch at: https://github.com/apache/lucene-solr/pull/126.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #126 ---- commit a3812a67d95651c70c801cbea5ed1ff2e39ee051 Author: rustamhsmv <rustam.hashi...@outlook.com> Date: 2016-12-16T23:34:47Z make CountSlotArrAcc internal array reusable commit 1c069cc6e0fdc084bb1b88591dae32143d4ebdba Author: rustamhsmv <rustam.hashi...@outlook.com> Date: 2016-12-17T21:51:21Z Comments ---- > Reuse CountSlotArrAcc internal array for same level subFacets > ------------------------------------------------------------- > > Key: SOLR-9876 > URL: https://issues.apache.org/jira/browse/SOLR-9876 > Project: Solr > Issue Type: Improvement > Security Level: Public(Default Security Level. Issues are Public) > Components: Facet Module > Affects Versions: master (7.0) > Reporter: Rustam Hashimov > Priority: Minor > Fix For: master (7.0) > > > All facet processors are processed sequentially. We can reuse CountSlotArrAcc > internal array across same level facet processors instead of reallocating new > array for each. -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org