[ https://issues.apache.org/jira/browse/LUCENE-3972?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Martijn van Groningen updated LUCENE-3972: ------------------------------------------ Attachment: LUCENE-3972.patch Tested the current patch on a index containing 10M documents that has ~5M unique groups. The already existing implementation needs ~15.3 seconds to get the total group count and the new impl in the patch needs ~4.4 seconds to get the total group count. > Improve AllGroupsCollector implementations > ------------------------------------------ > > Key: LUCENE-3972 > URL: https://issues.apache.org/jira/browse/LUCENE-3972 > Project: Lucene - Java > Issue Type: Improvement > Components: modules/grouping > Reporter: Martijn van Groningen > Attachments: LUCENE-3972.patch, LUCENE-3972.patch > > > I think that the performance of TermAllGroupsCollectorm, > DVAllGroupsCollector.BR and DVAllGroupsCollector.SortedBR can be improved by > using BytesRefHash to store the groups instead of an ArrayList. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org