lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Erick Erickson <>
Subject Re: High CPU when use grouping group.ngroups=true
Date Tue, 23 May 2017 14:48:29 GMT
How many unique values in your group field? For high-cardinality
fields there's quite a bit of bookkeeping that needs to be done.

Have you tried profiling to see where the CPU time is being spent?


On Tue, May 23, 2017 at 7:46 AM, Nguyen Manh Tien
<> wrote:
> Hi All,
> I recently switch from solr field collapse/expand to grouping for collapse
> search result
> All seem good but CPU is always high (80-100%) when i set param
> group.ngroups=true.
> We set ngroups=true to get number of groups so that we can paginate search
> result correctly.
> Due to CPU issue we need to turn it off.
> Is ngroups=true is expensive feature? Is there any way to prevent CPU issue
> and still have correct pagination.
> Thanks,
> Tien

View raw message