Re: Using group.ngroups during query search

2016-03-14 Thread Zheng Lin Edwin Yeo
Hi Toke, I have tried using the HTTP URL command, and it works! The searching speed for using JSON Facet is much faster than using the group.ngroups. The time taken for returning my 6 million groups has been reduced from 2 minutes to less than 2 seconds. I used the following URL to get the JSON

Re: Using group.ngroups during query search

2016-03-12 Thread Zheng Lin Edwin Yeo
Hi Toke, Thanks for your reply. >StatsComponent has countDistinct which is accurate, but has a warning >that is might be very heavy. This means that by using this method, the speed will probably be slow as well? By the way, I found that all the slow queries occurs in searches which are returnin

Re: Using group.ngroups during query search

2016-03-11 Thread Toke Eskildsen
On Fri, 2016-03-11 at 12:11 +0800, Zheng Lin Edwin Yeo wrote: > I would like to check, will using the results grouping with group.ngroups > (which will include the number of groups that have matched the query) in > the search affects the performance of the Solr? Yes. Calculating ngroups is done by