Re: High CPU when use grouping group.ngroups=true

2017-05-24 Thread Nguyen Manh Tien
Without using ngroups=true, is there any way to handle pagination correctly when we collapse result using grouping? Regards, Tien On Tue, May 23, 2017 at 9:55 PM, Nguyen Manh Tien wrote: > The collapse field is high-cardinality field. I haven't profiling yet but > will do it. > > Thanks, > Tien

Re: High CPU when use grouping group.ngroups=true

2017-05-23 Thread Nguyen Manh Tien
The collapse field is high-cardinality field. I haven't profiling yet but will do it. Thanks, Tien On Tue, May 23, 2017 at 9:48 PM, Erick Erickson wrote: > How many unique values in your group field? For high-cardinality > fields there's quite a bit of bookkeeping that needs to be done. > > Hav

Re: High CPU when use grouping group.ngroups=true

2017-05-23 Thread Erick Erickson
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? Best, Erick On Tue, May 23, 2017 at 7:46 AM, Nguyen Manh Tien wrote: > Hi All, > > I recently swit

High CPU when use grouping group.ngroups=true

2017-05-23 Thread Nguyen Manh Tien
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 nee